projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f43e80
)
uridecodebin: Also catch CODEC_NOT_FOUND errors and delay them until all decodebins...
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 5 Jun 2014 13:35:31 +0000
(15:35 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 5 Jun 2014 13:35:31 +0000
(15:35 +0200)
gst/playback/gsturidecodebin.c
patch
|
blob
|
history
diff --git
a/gst/playback/gsturidecodebin.c
b/gst/playback/gsturidecodebin.c
index
dc2de5b
..
709483e
100644
(file)
--- a/
gst/playback/gsturidecodebin.c
+++ b/
gst/playback/gsturidecodebin.c
@@
-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);