summaryrefslogtreecommitdiffstats
path: root/gst/effectv/gstaging.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/gstaging.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/gstaging.c')
-rw-r--r--gst/effectv/gstaging.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/effectv/gstaging.c b/gst/effectv/gstaging.c
index d07fc5f7..96c312f9 100644
--- a/gst/effectv/gstaging.c
+++ b/gst/effectv/gstaging.c
@@ -418,4 +418,7 @@ gst_agingtv_init (GstAgingTV * agingtv, GstAgingTVClass * klass)
agingtv->color_aging = DEFAULT_COLOR_AGING;
agingtv->pits = DEFAULT_PITS;
agingtv->dusts = DEFAULT_DUSTS;
+
+ gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (agingtv));
+ gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (agingtv));
}