From 3295482afd6eca49b20d321db2ad98aab6f40185 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Fri, 25 Nov 2011 11:44:18 +0100 Subject: [PATCH] effecttv: fix reverse negotiation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The plugins were using _fixed_caps_ and thus not adjusting to new upstream sizes. Spotted by Tim Müller. --- gst/effectv/gstradioac.c | 3 --- gst/effectv/gstshagadelic.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/gst/effectv/gstradioac.c b/gst/effectv/gstradioac.c index 58c1b7b9e8..3db06c5e5c 100644 --- a/gst/effectv/gstradioac.c +++ b/gst/effectv/gstradioac.c @@ -616,7 +616,4 @@ gst_radioactv_init (GstRadioacTV * filter, GstRadioacTVClass * klass) filter->color = DEFAULT_COLOR; filter->interval = DEFAULT_INTERVAL; filter->trigger = DEFAULT_TRIGGER; - - gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter)); - gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter)); } diff --git a/gst/effectv/gstshagadelic.c b/gst/effectv/gstshagadelic.c index 650a563d3e..5a07242366 100644 --- a/gst/effectv/gstshagadelic.c +++ b/gst/effectv/gstshagadelic.c @@ -267,7 +267,4 @@ gst_shagadelictv_init (GstShagadelicTV * filter, GstShagadelicTVClass * klass) { filter->ripple = NULL; filter->spiral = NULL; - - gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter)); - gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter)); }