[vlc-commits] qsv: always encode from progressive

Steve Lhomme git at videolan.org
Wed Apr 4 18:28:01 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Fri Sep  1 08:35:47 2017 +0200| [ff64ca1e6db4c2f008437c248958d397484cabf2] | committer: Steve Lhomme

qsv: always encode from progressive

The source will need to be deinterlaced dynamically if needed

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff64ca1e6db4c2f008437c248958d397484cabf2
---

 modules/codec/qsv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index 8c571a3dad..0488e76f4f 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -487,7 +487,7 @@ static int Open(vlc_object_t *this)
     sys->params.mfx.FrameInfo.Height        = QSV_ALIGN(32, enc->fmt_in.video.i_height);
     sys->params.mfx.FrameInfo.CropW         = enc->fmt_in.video.i_visible_width;
     sys->params.mfx.FrameInfo.CropH         = enc->fmt_in.video.i_visible_height;
-    sys->params.mfx.FrameInfo.PicStruct     = MFX_PICSTRUCT_UNKNOWN;
+    sys->params.mfx.FrameInfo.PicStruct     = MFX_PICSTRUCT_PROGRESSIVE;
 
     /* Parsing options common to all RC methods and codecs */
     sys->params.IOPattern       = MFX_IOPATTERN_IN_SYSTEM_MEMORY;



More information about the vlc-commits mailing list