mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
decodebin2: Break the double-factory checking loop immediately if the factory was used already
This commit is contained in:
parent
5058f79226
commit
c7f5290247
1 changed files with 1 additions and 1 deletions
|
@ -1692,7 +1692,7 @@ connect_pad (GstDecodeBin * dbin, GstElement * src, GstDecodePad * dpad,
|
|||
|
||||
if (gst_element_get_factory (otherelement) == factory) {
|
||||
skip = TRUE;
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
CHAIN_MUTEX_UNLOCK (chain);
|
||||
|
|
Loading…
Reference in a new issue