mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
effecttv: fix reverse negotiation
The plugins were using _fixed_caps_ and thus not adjusting to new upstream sizes. Spotted by Tim Müller.
This commit is contained in:
parent
230ce4367f
commit
b6de7baeb6
4 changed files with 1 additions and 11 deletions
|
@ -306,7 +306,4 @@ gst_quarktv_init (GstQuarkTV * filter, GstQuarkTVClass * klass)
|
|||
{
|
||||
filter->planes = PLANES;
|
||||
filter->current_plane = filter->planes - 1;
|
||||
|
||||
gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter));
|
||||
gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter));
|
||||
}
|
||||
|
|
|
@ -276,7 +276,4 @@ 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));
|
||||
}
|
||||
|
|
|
@ -325,7 +325,4 @@ gst_vertigotv_init (GstVertigoTV * filter, GstVertigoTVClass * klass)
|
|||
filter->phase = 0.0;
|
||||
filter->phase_increment = 0.02;
|
||||
filter->zoomrate = 1.01;
|
||||
|
||||
gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (filter));
|
||||
gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (filter));
|
||||
}
|
||||
|
|
|
@ -288,6 +288,5 @@ gst_warptv_class_init (GstWarpTVClass * klass)
|
|||
static void
|
||||
gst_warptv_init (GstWarpTV * warptv, GstWarpTVClass * klass)
|
||||
{
|
||||
gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SRC_PAD (warptv));
|
||||
gst_pad_use_fixed_caps (GST_BASE_TRANSFORM_SINK_PAD (warptv));
|
||||
/* nothing to do */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue