summaryrefslogtreecommitdiffstats
path: root/gst/effectv/gstwarp.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-24 19:38:07 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-24 19:54:05 +0200
commitf0054bcc8250b2d4463ac721dc99a0d6cf815d69 (patch)
tree836aa939b72c027728ac4568f1a29fe36ee44e9f /gst/effectv/gstwarp.c
parent6eada080a0b3bb1a0b75c66fc4cfc510f9dd84b0 (diff)
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.
Diffstat (limited to 'gst/effectv/gstwarp.c')
-rw-r--r--gst/effectv/gstwarp.c2
1 files changed, 2 insertions, 0 deletions
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));
}