[vlc-commits] directx_va: add H264_BASELINE support

Thomas Guillem git at videolan.org
Fri Mar 2 09:12:04 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar  1 18:06:46 2018 +0100| [4a8603d2dd3f1adbca7f84813d1f54dc3c39bf04] | committer: Thomas Guillem

directx_va: add H264_BASELINE support

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

 modules/codec/avcodec/directx_va.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/directx_va.c b/modules/codec/avcodec/directx_va.c
index eb00abb6c7..a6bcac3537 100644
--- a/modules/codec/avcodec/directx_va.c
+++ b/modules/codec/avcodec/directx_va.c
@@ -51,7 +51,8 @@ struct picture_sys_t {
 static const int PROF_MPEG2_SIMPLE[] = { FF_PROFILE_MPEG2_SIMPLE, 0 };
 static const int PROF_MPEG2_MAIN[]   = { FF_PROFILE_MPEG2_SIMPLE,
                                          FF_PROFILE_MPEG2_MAIN, 0 };
-static const int PROF_H264_HIGH[]    = { FF_PROFILE_H264_CONSTRAINED_BASELINE,
+static const int PROF_H264_HIGH[]    = { FF_PROFILE_H264_BASELINE,
+                                         FF_PROFILE_H264_CONSTRAINED_BASELINE,
                                          FF_PROFILE_H264_MAIN,
                                          FF_PROFILE_H264_HIGH, 0 };
 static const int PROF_HEVC_MAIN[]    = { FF_PROFILE_HEVC_MAIN, 0 };



More information about the vlc-commits mailing list