mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
319baefeba
commit
d40246ff7d
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue