[vlc-devel] [PATCH] va: AV_PIX_FMT_D3D11VA_VLD was added in 56.25.0 in libav and ffmpeg

Jean-Baptiste Kempf jb at videolan.org
Thu Jun 11 23:41:05 CEST 2015


Fixed and applied.

On 11 Jun, Steve Lhomme wrote :
> ---
>  modules/codec/avcodec/va.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/codec/avcodec/va.c b/modules/codec/avcodec/va.c
> index d412cb5..fd912fa 100644
> --- a/modules/codec/avcodec/va.c
> +++ b/modules/codec/avcodec/va.c
> @@ -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, 25, 0)
>          case AV_PIX_FMT_D3D11VA_VLD:
>              return VLC_CODEC_D3D11_OPAQUE;
>  #endif
> -- 
> 2.4.2
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list