decodebin2: Break the double-factory checking loop immediately if the factory was used already
This commit is contained in:
parent
5058f79226
commit
c7f5290247
@ -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…
x
Reference in New Issue
Block a user