decodebin2: Only check if this is a discarded type if we have fixed caps
For unfixed caps we will get here again later when the caps are fixed.
This commit is contained in:
parent
8e114c427a
commit
61c6fcb2cd
@ -1494,7 +1494,7 @@ analyze_new_pad (GstDecodeBin * dbin, GstElement * src, GstPad * pad,
|
||||
|
||||
/* At this point we have a potential decoder, but we might not need it
|
||||
* if it doesn't match the output caps */
|
||||
if (!dbin->expose_allstreams) {
|
||||
if (!dbin->expose_allstreams && gst_caps_is_fixed (caps)) {
|
||||
guint i;
|
||||
const GList *tmps;
|
||||
gboolean dontuse = FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user