summaryrefslogtreecommitdiffstats
path: root/gst/effectv/gststreak.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/gststreak.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/gststreak.c')
-rw-r--r--gst/effectv/gststreak.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/effectv/gststreak.c b/gst/effectv/gststreak.c
index 0772e8d1..ed129d9a 100644
--- a/gst/effectv/gststreak.c
+++ b/gst/effectv/gststreak.c
@@ -272,4 +272,7 @@ static void
gst_streaktv_init (GstStreakTV * filter, GstStreakTVClass * klass)
{
filter->feedback = DEFAULT_FEEDBACK;
+
+ gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter));
+ gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter));
}