decodebin2: Break the double-factory checking loop immediately if the factory was used already

This commit is contained in:
Sebastian Dröge 2011-02-26 23:43:39 +01:00
parent 5058f79226
commit c7f5290247

View file

@ -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);