From c7d90c1112e42da00e512a1cbce16228de8a95a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 27 Jan 2016 18:44:23 +0100 Subject: [PATCH] deinterlace: Unset RECONFIGURE flag on srcpad whenever we configure new caps Prevents double-negotiation during startup and in some other cases. --- gst/deinterlace/gstdeinterlace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index 80c21d4358..d83340d615 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -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);