deinterlace: force deinterlacing in "interlaced" mode

https://bugzilla.gnome.org/show_bug.cgi?id=697467
This commit is contained in:
Matej Knopp 2013-04-07 01:47:56 +02:00 committed by Tim-Philipp Müller
parent c82102b158
commit 67c2219687

View file

@ -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) {