frei0r: Use fixed caps on the filter pads

This is required because we have to create a new frei0r
instance for any caps changes and the instances can have history.
Just creating a new instance during playback can result in bad output
right after the caps change.
This commit is contained in:
Sebastian Dröge 2009-06-29 11:50:44 +02:00
parent cd6422a372
commit 867d51fb31

View file

@ -195,6 +195,8 @@ gst_frei0r_filter_init (GstFrei0rFilter * self, GstFrei0rFilterClass * klass)
{
self->property_cache =
gst_frei0r_property_cache_init (klass->properties, klass->n_properties);
gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (self));
gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (self));
}
gboolean