diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-07-24 19:38:07 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-07-24 19:54:05 +0200 |
commit | f0054bcc8250b2d4463ac721dc99a0d6cf815d69 (patch) | |
tree | 836aa939b72c027728ac4568f1a29fe36ee44e9f /gst/effectv/gstripple.c | |
parent | 6eada080a0b3bb1a0b75c66fc4cfc510f9dd84b0 (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/gstripple.c')
-rw-r--r-- | gst/effectv/gstripple.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/effectv/gstripple.c b/gst/effectv/gstripple.c index ce4a58c9..75e39817 100644 --- a/gst/effectv/gstripple.c +++ b/gst/effectv/gstripple.c @@ -607,4 +607,7 @@ static void gst_rippletv_init (GstRippleTV * filter, GstRippleTVClass * klass) { filter->mode = DEFAULT_MODE; + + gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter)); + gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter)); } |