From 9ea5b22de660b60d69c3b11a10dbb07bc3c45587 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 19 Dec 2011 18:14:27 +0100 Subject: [PATCH] ffmpegdec: update for new interlace fields --- ext/ffmpeg/gstffmpegdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index 441b51f14b..dd754e2fa4 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -1252,9 +1252,9 @@ gst_ffmpegdec_video_negotiate (GstFFMpegDec * ffmpegdec, gboolean force) /* set the interlaced flag */ if (ffmpegdec->ctx_interlaced) - info.flags |= GST_VIDEO_FLAG_INTERLACED; + info.interlace_mode = GST_VIDEO_INTERLACE_MODE_MIXED; else - info.flags &= ~GST_VIDEO_FLAG_INTERLACED; + info.interlace_mode = GST_VIDEO_INTERLACE_MODE_PROGRESSIVE; /* try to find a good framerate */ if (ffmpegdec->in_fps_d) {