mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 12:15:19 +00:00
decodebin: Also include the raw caps in the error message, not just the human readable description
This commit is contained in:
parent
56899b596e
commit
5cbefaa9a2
1 changed files with 4 additions and 2 deletions
|
@ -4318,8 +4318,10 @@ gst_decode_chain_expose (GstDecodeChain * chain, GList ** endpads,
|
||||||
g_string_append_c (missing_plugin_details, '\n');
|
g_string_append_c (missing_plugin_details, '\n');
|
||||||
} else {
|
} else {
|
||||||
gchar *desc = gst_pb_utils_get_codec_description (chain->endcaps);
|
gchar *desc = gst_pb_utils_get_codec_description (chain->endcaps);
|
||||||
g_string_append_printf (missing_plugin_details, "Missing decoder: %s\n",
|
gchar *caps_str = gst_caps_to_string (chain->endcaps);
|
||||||
desc);
|
g_string_append_printf (missing_plugin_details,
|
||||||
|
"Missing decoder: %s (%s)\n", desc, caps_str);
|
||||||
|
g_free (caps_str);
|
||||||
g_free (desc);
|
g_free (desc);
|
||||||
}
|
}
|
||||||
*missing_plugin = TRUE;
|
*missing_plugin = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue