diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-07-10 15:59:38 +0200 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-07-10 16:03:15 +0200 |
commit | c64da19bbc1d3b405703ef3b705dba39a450504f (patch) | |
tree | d15fd66dbaea0e8bc4092c4c01850d571a3f13de /libavcodec | |
parent | 0281d5ece640d9ee8113846f0e21442a56356c82 (diff) | |
download | ffmpeg-c64da19bbc1d3b405703ef3b705dba39a450504f.tar.gz |
dxva: DXVA2_ModeHEVC_VLD_Main10 does not support Main
This mode apparently does not support decoding of HEVC Main (8 bit).
With D3D11 and Intel drivers on Windows 10 I get green corruption, while
using DXVA2_ModeHEVC_VLD_Main works.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dxva2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c index 542607ab3e..afcd361ef6 100644 --- a/libavcodec/dxva2.c +++ b/libavcodec/dxva2.c @@ -64,8 +64,7 @@ static const int prof_h264_high[] = {FF_PROFILE_H264_CONSTRAINED_BASELINE, FF_PROFILE_UNKNOWN}; static const int prof_hevc_main[] = {FF_PROFILE_HEVC_MAIN, FF_PROFILE_UNKNOWN}; -static const int prof_hevc_main10[] = {FF_PROFILE_HEVC_MAIN, - FF_PROFILE_HEVC_MAIN_10, +static const int prof_hevc_main10[] = {FF_PROFILE_HEVC_MAIN_10, FF_PROFILE_UNKNOWN}; static const dxva_mode dxva_modes[] = { |