[vlc-commits] directx_va: add H264_BASELINE support

Thomas Guillem git at videolan.org
Mon Mar 5 09:28:54 CET 2018


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

directx_va: add H264_BASELINE support

(cherry picked from commit 4a8603d2dd3f1adbca7f84813d1f54dc3c39bf04)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 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