diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-05-29 13:09:47 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-11 19:43:11 +0300 |
commit | 7a8ab3402ab2d0aa5924d52ee485152ec21b7e0a (patch) | |
tree | 2e19adf0707b1119afeab176faed86344d43a14e | |
parent | 5fb1b9d5b619c39e6c3c1e6a0f5c72650927dfe4 (diff) |
vp9: add profile 2 10-bit DXVA2/D3D11 decoding support
-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 7d8aced8c8..3e51dbf34f 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -127,6 +127,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 @@ -138,7 +139,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_VAAPI_HWACCEL *fmtp++ = AV_PIX_FMT_VAAPI; |