From 67c22196871b064182273b44b246d48711297eeb Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Sun, 7 Apr 2013 01:47:56 +0200 Subject: [PATCH] deinterlace: force deinterlacing in "interlaced" mode https://bugzilla.gnome.org/show_bug.cgi?id=697467 --- gst/deinterlace/gstdeinterlace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index 9f59463cd8..b921ceee6d 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -1047,6 +1047,8 @@ gst_deinterlace_get_buffer_state (GstDeinterlace * self, GstVideoFrame * frame, return; interlacing_mode = GST_VIDEO_INFO_INTERLACE_MODE (&frame->info); + if (self->mode == GST_DEINTERLACE_MODE_INTERLACED) + interlacing_mode = GST_VIDEO_INTERLACE_MODE_INTERLEAVED; if (state) { if (interlacing_mode == GST_VIDEO_INTERLACE_MODE_MIXED) {