mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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:
parent
cd6422a372
commit
867d51fb31
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue