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.
This commit is contained in:
Sebastian Dröge 2009-10-13 16:50:37 +02:00
parent 319baefeba
commit d40246ff7d

View file

@ -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_LOG_OBJECT (chain->dbin, "no-more-pads from old chain element '%s'",
GST_OBJECT_NAME (element)); GST_OBJECT_NAME (element));
return; 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); CHAIN_MUTEX_LOCK (chain);