[vlc-commits] qsv: init QSV for version 1.1

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


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Fri Sep 15 16:44:00 2017 +0200| [4fac0b946f4f77b4233146464a816adc433d2469] | committer: Steve Lhomme

qsv: init QSV for version 1.1

Similar to avcodec

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

 modules/codec/qsv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index 3f944b0463..898907a6b0 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -435,8 +435,8 @@ static int Open(vlc_object_t *this)
         (mfxExtBuffer*)&co2,
 #endif
     };
-    mfxVersion ver = { { MFX_VERSION_MINOR, MFX_VERSION_MAJOR } };
-    mfxIMPL impl;
+    mfxVersion    ver = { { 1, 1 } };
+    mfxIMPL       impl;
 
     uint8_t *p_extra;
     size_t i_extra;



More information about the vlc-commits mailing list