mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-26 07:56:38 +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) {
|
if (gst_element_get_factory (otherelement) == factory) {
|
||||||
skip = TRUE;
|
skip = TRUE;
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CHAIN_MUTEX_UNLOCK (chain);
|
CHAIN_MUTEX_UNLOCK (chain);
|
||||||
|
|
Loading…
Reference in a new issue