mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
uridecodebin: Also catch CODEC_NOT_FOUND errors and delay them until all decodebins are done
This commit is contained in:
parent
0f43e801f2
commit
1f41a1606a
1 changed files with 3 additions and 1 deletions
|
@ -2414,7 +2414,9 @@ handle_message (GstBin * bin, GstMessage * msg)
|
|||
* error from no_more_pads_full()
|
||||
*/
|
||||
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,
|
||||
GST_STREAM_ERROR_CODEC_NOT_FOUND)) {
|
||||
no_more_pads_full (GST_ELEMENT (GST_MESSAGE_SRC (msg)), FALSE,
|
||||
GST_URI_DECODE_BIN (bin));
|
||||
gst_message_unref (msg);
|
||||
|
|
Loading…
Reference in a new issue