From 4a8603d2dd3f1adbca7f84813d1f54dc3c39bf04 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Thu, 1 Mar 2018 18:06:46 +0100 Subject: [PATCH] directx_va: add H264_BASELINE support --- 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 }; -- GitLab