mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
/* At this point we have a potential decoder, but we might not need it
|
||||||
* if it doesn't match the output caps */
|
* if it doesn't match the output caps */
|
||||||
if (!dbin->expose_allstreams) {
|
if (!dbin->expose_allstreams && gst_caps_is_fixed (caps)) {
|
||||||
guint i;
|
guint i;
|
||||||
const GList *tmps;
|
const GList *tmps;
|
||||||
gboolean dontuse = FALSE;
|
gboolean dontuse = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue