From d40246ff7d751b84f98dbc95784f44dd76ab813e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 13 Oct 2009 16:50:37 +0200 Subject: [PATCH] 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. --- gst/playback/gstdecodebin2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index f654538540..de9cdddf53 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);