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/gstdice.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/gstdice.c')
-rw-r--r-- | gst/effectv/gstdice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c index b46aab8e..5d73b7a5 100644 --- a/gst/effectv/gstdice.c +++ b/gst/effectv/gstdice.c @@ -310,4 +310,7 @@ gst_dicetv_init (GstDiceTV * filter, GstDiceTVClass * klass) filter->g_cube_size = 0; filter->g_map_height = 0; filter->g_map_width = 0; + + gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter)); + gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter)); } |