Commit 8a550d71 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

va: AV_PIX_FMT_D3D11VA_VLD version guards

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 65b7990c
......@@ -43,7 +43,7 @@ vlc_fourcc_t vlc_va_GetChroma(enum PixelFormat hwfmt, enum PixelFormat swfmt)
case AV_PIX_FMT_DXVA2_VLD:
return VLC_CODEC_D3D9_OPAQUE;
#if (LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(54, 13, 1))
#if LIBAVUTIL_VERSION_CHECK(56, 25, 0, 41, 100)
case AV_PIX_FMT_D3D11VA_VLD:
return VLC_CODEC_D3D11_OPAQUE;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment