From 973bbf88af6b5a40ac86e568da4b4a20f6aca0fe Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 27 Aug 2007 11:59:56 +0000 Subject: [PATCH] gst/playback/gstdecodebin.c: We need to set up delayed-linking whenever the caps are non-fixed, not just when there a... Original commit message from CVS: * gst/playback/gstdecodebin.c: (close_pad_link): We need to set up delayed-linking whenever the caps are non-fixed, not just when there are multiple types - use gst_pad_is_fixed() to test. --- ChangeLog | 7 +++++++ gst/playback/gstdecodebin.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0bab8c9..94b846f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-08-27 Jan Schmidt + + * gst/playback/gstdecodebin.c: (close_pad_link): + We need to set up delayed-linking whenever the caps are non-fixed, + not just when there are multiple types - use gst_pad_is_fixed() + to test. + 2007-08-26 Tim-Philipp Müller * gst-libs/gst/pbutils/missing-plugins.c: diff --git a/gst/playback/gstdecodebin.c b/gst/playback/gstdecodebin.c index c3ee826..2767a06 100644 --- a/gst/playback/gstdecodebin.c +++ b/gst/playback/gstdecodebin.c @@ -749,7 +749,7 @@ close_pad_link (GstElement * element, GstPad * pad, GstCaps * caps, GList *to_try; /* if the caps has many types, we need to delay */ - if (gst_caps_get_size (caps) != 1) + if (!gst_caps_is_fixed (caps)) goto many_types; /* continue plugging, first find all compatible elements */ -- 2.7.4