From 61c6fcb2cd84bba6177fd15294d03f5624b302e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 20 Sep 2011 14:04:45 +0200 Subject: [PATCH] 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. --- gst/playback/gstdecodebin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index bf88ed8..eb14dc2 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -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; -- 2.7.4