From 4d55588e352fcdfc4b9c4c8e13f65fcc01d5058c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 6 Mar 2012 13:19:24 +0100 Subject: [PATCH] deinterlace: Fix 'implicit conversion from enumeration type 'GstDeinterlaceFields' to different enumeration type 'GstDeinterlaceMode'' compiler warning --- gst/deinterlace/gstdeinterlace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index a79b836..dfb03ad 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -1982,7 +1982,8 @@ gst_deinterlace_chain (GstPad * pad, GstBuffer * buf) self->fields = self->new_fields; if (self->new_mode != -1) self->mode = self->new_mode; - self->new_mode = self->new_fields = -1; + self->new_mode = -1; + self->new_fields = -1; self->reconfigure = FALSE; GST_OBJECT_UNLOCK (self); -- 2.7.4