projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56899b5
)
decodebin: Also include the raw caps in the error message, not just the human readabl...
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 2 Sep 2014 12:37:38 +0000
(15:37 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 2 Sep 2014 12:37:38 +0000
(15:37 +0300)
gst/playback/gstdecodebin2.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstdecodebin2.c
b/gst/playback/gstdecodebin2.c
index
8174067
..
ea1f950
100644
(file)
--- a/
gst/playback/gstdecodebin2.c
+++ b/
gst/playback/gstdecodebin2.c
@@
-4318,8
+4318,10
@@
gst_decode_chain_expose (GstDecodeChain * chain, GList ** endpads,
g_string_append_c (missing_plugin_details, '\n');
} else {
gchar *desc = gst_pb_utils_get_codec_description (chain->endcaps);
- g_string_append_printf (missing_plugin_details, "Missing decoder: %s\n",
- desc);
+ gchar *caps_str = gst_caps_to_string (chain->endcaps);
+ g_string_append_printf (missing_plugin_details,
+ "Missing decoder: %s (%s)\n", desc, caps_str);
+ g_free (caps_str);
g_free (desc);
}
*missing_plugin = TRUE;