summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-13 16:50:37 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-13 16:52:43 +0200
commitd40246ff7d751b84f98dbc95784f44dd76ab813e (patch)
treee1039161ddb0b2f5ca6cf3a0c6fba3697eea0262
parent319baefeba6c293603b8c949fa3861b01d2ecc6b (diff)
decodebin2: Ignore no-more-pads from non-demuxer elements
instead of printing an error that no corresponding group could be found. no-more-pads from non-demuxer elements doesn't give any additional information because there can only be a single srcpad. Fixes bug #598288.
-rw-r--r--gst/playback/gstdecodebin2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c
index f65453854..de9cdddf5 100644
--- a/gst/playback/gstdecodebin2.c
+++ b/gst/playback/gstdecodebin2.c
@@ -1620,6 +1620,10 @@ no_more_pads_cb (GstElement * element, GstDecodeChain * chain)
GST_LOG_OBJECT (chain->dbin, "no-more-pads from old chain element '%s'",
GST_OBJECT_NAME (element));
return;
+ } else if (!chain->demuxer) {
+ GST_LOG_OBJECT (chain->dbin, "no-more-pads from a non-demuxer element '%s'",
+ GST_OBJECT_NAME (element));
+ return;
}
CHAIN_MUTEX_LOCK (chain);