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/gstwarp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/effectv/gstwarp.c') diff --git a/gst/effectv/gstwarp.c b/gst/effectv/gstwarp.c index fd31dc4a..c51ed38d 100644 --- a/gst/effectv/gstwarp.c +++ b/gst/effectv/gstwarp.c @@ -282,4 +282,6 @@ gst_warptv_class_init (GstWarpTVClass * klass) static void gst_warptv_init (GstWarpTV * warptv, GstWarpTVClass * klass) { + gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (warptv)); + gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (warptv)); } -- cgit