[gst-cvs] gst-plugins-bad: coloreffects: Don't use the fixed_caps func on the pads

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Aug 4 01:15:19 PDT 2010


Module: gst-plugins-bad
Branch: master
Commit: 3878dce20d58253667ada2ac904bfa23bdb2f792
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=3878dce20d58253667ada2ac904bfa23bdb2f792

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Wed Aug  4 10:08:24 2010 +0200

coloreffects: Don't use the fixed_caps func on the pads

coloreffects can renegotiate during playback without any problems.

---

 gst/coloreffects/gstcoloreffects.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/gst/coloreffects/gstcoloreffects.c b/gst/coloreffects/gstcoloreffects.c
index 2cbd298..4cd20ad 100644
--- a/gst/coloreffects/gstcoloreffects.c
+++ b/gst/coloreffects/gstcoloreffects.c
@@ -598,7 +598,4 @@ gst_color_effects_init (GstColorEffects * filter, GstColorEffectsClass * klass)
   filter->preset = GST_COLOR_EFFECTS_PRESET_NONE;
   filter->table = NULL;
   filter->map_luma = TRUE;
-
-  gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter));
-  gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter));
 }





More information about the Gstreamer-commits mailing list