deinterlace: Unset RECONFIGURE flag on srcpad whenever we configure new caps

Prevents double-negotiation during startup and in some other cases.
This commit is contained in:
Sebastian Dröge 2016-01-27 18:44:23 +01:00
parent 5d728b3ce5
commit c7d90c1112

View file

@ -2508,6 +2508,8 @@ gst_deinterlace_setcaps (GstDeinterlace * self, GstPad * pad, GstCaps * caps)
GstVideoInterlaceMode interlacing_mode;
gint fps_n, fps_d;
gst_pad_check_reconfigure (self->srcpad);
if (self->locking != GST_DEINTERLACE_LOCKING_NONE) {
if (self->low_latency == -1)
self->low_latency = gst_deinterlace_get_latency (self);