From f0054bcc8250b2d4463ac721dc99a0d6cf815d69 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Fri, 24 Jul 2009 19:38:07 +0200 Subject: effectv: Don't allow caps changes for some effectv filters These filters use information from previous frames to generate the current frame and a caps change will make the effect start from the beginning again. --- gst/effectv/gstdice.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/effectv/gstdice.c') diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c index b46aab8e..5d73b7a5 100644 --- a/gst/effectv/gstdice.c +++ b/gst/effectv/gstdice.c @@ -310,4 +310,7 @@ gst_dicetv_init (GstDiceTV * filter, GstDiceTVClass * klass) filter->g_cube_size = 0; filter->g_map_height = 0; filter->g_map_width = 0; + + gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter)); + gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter)); } -- cgit