[vlc-commits] directx_va: add VP9 decoding support with FFmpeg 57.17
Steve Lhomme
git at videolan.org
Mon Jul 18 06:05:28 CEST 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Jul 13 13:07:29 2016 +0200| [0d188ca54de57648b6d9c295424a01985238a861] | committer: Jean-Baptiste Kempf
directx_va: add VP9 decoding support with FFmpeg 57.17
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d188ca54de57648b6d9c295424a01985238a861
---
modules/codec/avcodec/directx_va.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/codec/avcodec/directx_va.c b/modules/codec/avcodec/directx_va.c
index 80f58a6..17c2db1 100644
--- a/modules/codec/avcodec/directx_va.c
+++ b/modules/codec/avcodec/directx_va.c
@@ -240,7 +240,11 @@ static const directx_va_mode_t DXVA_MODES[] = {
/* VPx */
{ "VP8", &DXVA_ModeVP8_VLD, 0, NULL },
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 57, 17, 100 ) && LIBAVCODEC_VERSION_MICRO >= 100
+ { "VP9 profile 0", &DXVA_ModeVP9_VLD_Profile0, AV_CODEC_ID_VP9, NULL },
+#else
{ "VP9 profile 0", &DXVA_ModeVP9_VLD_Profile0, 0, NULL },
+#endif
{ NULL, NULL, 0, NULL }
};
More information about the vlc-commits
mailing list