Commit 1f41a160 authored by Sebastian Dröge's avatar Sebastian Dröge

uridecodebin: Also catch CODEC_NOT_FOUND errors and delay them until all decodebins are done

parent 0f43e801
...@@ -2414,7 +2414,9 @@ handle_message (GstBin * bin, GstMessage * msg) ...@@ -2414,7 +2414,9 @@ handle_message (GstBin * bin, GstMessage * msg)
* error from no_more_pads_full() * error from no_more_pads_full()
*/ */
gst_message_parse_error (msg, &err, NULL); gst_message_parse_error (msg, &err, NULL);
if (g_error_matches (err, GST_CORE_ERROR, GST_CORE_ERROR_MISSING_PLUGIN)) { if (g_error_matches (err, GST_CORE_ERROR, GST_CORE_ERROR_MISSING_PLUGIN)
|| g_error_matches (err, GST_STREAM_ERROR,
no_more_pads_full (GST_ELEMENT (GST_MESSAGE_SRC (msg)), FALSE, no_more_pads_full (GST_ELEMENT (GST_MESSAGE_SRC (msg)), FALSE,
gst_message_unref (msg); gst_message_unref (msg);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment