On 7/10/17 3:59 PM, wm4 wrote:
> This mode apparently does not support decoding of HEVC Main (8 bit).
> With D3D11 and Intel drivers on Windows 10 I get green corruption, while
> using DXVA2_ModeHEVC_VLD_Main works.
> ---
>  libavcodec/dxva2.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c
> index a60604a84f..9ceb6236d4 100644
> --- a/libavcodec/dxva2.c
> +++ b/libavcodec/dxva2.c
> @@ -63,8 +63,7 @@ static const int prof_h264_high[]    = 
> {FF_PROFILE_H264_CONSTRAINED_BASELINE,
>                                          FF_PROFILE_UNKNOWN};
>  static const int prof_hevc_main[]    = {FF_PROFILE_HEVC_MAIN,
>                                          FF_PROFILE_UNKNOWN};
> -static const int prof_hevc_main10[]  = {FF_PROFILE_HEVC_MAIN,
> -                                        FF_PROFILE_HEVC_MAIN_10,
> +static const int prof_hevc_main10[]  = {FF_PROFILE_HEVC_MAIN_10,
>                                          FF_PROFILE_UNKNOWN};
>  
>  static const dxva_mode dxva_modes[] = {
> 

Looks fine to me.
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to