summaryrefslogtreecommitdiffstats
path: root/libavcodec/dxva2.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-07-10 15:59:38 +0200
committerAnton Khirnov <anton@khirnov.net>2017-07-22 09:30:56 +0200
commit9b9285bbf18e3bca87ec4969f661a4b321756cd5 (patch)
treee0aa1a01eaf8a1acb2e43deb35ed4c1bd7e60034 /libavcodec/dxva2.c
parent48a5c35346aeded1c65b8709bbb085fa4e705c91 (diff)
downloadffmpeg-streaming-9b9285bbf18e3bca87ec4969f661a4b321756cd5.zip
ffmpeg-streaming-9b9285bbf18e3bca87ec4969f661a4b321756cd5.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. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/dxva2.c')
-rw-r--r--libavcodec/dxva2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c
index a60604a..9ceb623 100644
--- a/libavcodec/dxva2.c
+++ b/libavcodec/dxva2.c
@@ -63,8 +63,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[] = {
OpenPOWER on IntegriCloud