mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ffmpegdec: update for new interlace fields
This commit is contained in:
parent
25b9d6e114
commit
9ea5b22de6
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue