[vlc-commits] qsv: output as constrained baseline rather than baseline

Steve Lhomme git at videolan.org
Wed Apr 4 18:27:57 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Aug 31 18:12:28 2017 +0200| [23479f7598df48e80a28432bef61888ce228332c] | committer: Steve Lhomme

qsv: output as constrained baseline rather than baseline

Since DXVA only support constrained baseline input officially.

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

 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 592c804863..21706391ab 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -154,7 +154,7 @@ static void     Close(vlc_object_t *);
      "MPEG2 needs at least 1 here.")
 
 static const int const profile_h264_list[] =
-      { 0, MFX_PROFILE_AVC_BASELINE, MFX_PROFILE_AVC_MAIN,
+      { 0, MFX_PROFILE_AVC_CONSTRAINED_BASELINE, MFX_PROFILE_AVC_MAIN,
       MFX_PROFILE_AVC_EXTENDED, MFX_PROFILE_AVC_HIGH };
 static const char *const profile_h264_text[] =
     { "decide", "baseline", "main", "extended", "high" };



More information about the vlc-commits mailing list