diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-05-29 12:09:47 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2018-04-13 11:27:25 +0200 |
commit | 7e20c8f5ebe96de94694be10e24b791e1ed4ea2d (patch) | |
tree | 319c4e672bc28d3b30cdab2f2e307944011002f2 /libavcodec/vp9.c | |
parent | b4159d959394db8be59c8b2c68e4bea227fc069d (diff) | |
download | ffmpeg-7e20c8f5ebe96de94694be10e24b791e1ed4ea2d.tar.gz |
avcodec/vp9: add profile 2 10-bit DXVA2/D3D11 decoding support
Fixes trac ticket #7099.
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r-- | libavcodec/vp9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 0fac638ec9..b1178c9c0c 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -188,6 +188,7 @@ static int update_size(AVCodecContext *avctx, int w, int h) switch (s->pix_fmt) { case AV_PIX_FMT_YUV420P: + case AV_PIX_FMT_YUV420P10: #if CONFIG_VP9_DXVA2_HWACCEL *fmtp++ = AV_PIX_FMT_DXVA2_VLD; #endif @@ -202,7 +203,6 @@ static int update_size(AVCodecContext *avctx, int w, int h) *fmtp++ = AV_PIX_FMT_VAAPI; #endif break; - case AV_PIX_FMT_YUV420P10: case AV_PIX_FMT_YUV420P12: #if CONFIG_VP9_NVDEC_HWACCEL *fmtp++ = AV_PIX_FMT_CUDA; |