[FFmpeg-devel] [PATCH 5/6] vaapi_av1: Fix force_integer_mv value

Xiang, Haihao haihao.xiang at intel.com
Tue Apr 30 09:03:49 EEST 2024


On Sa, 2024-04-27 at 16:30 +0100, Mark Thompson wrote:
> ---
>  libavcodec/vaapi_av1.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/vaapi_av1.c b/libavcodec/vaapi_av1.c
> index 1f563483b9..f61bf63098 100644
> --- a/libavcodec/vaapi_av1.c
> +++ b/libavcodec/vaapi_av1.c
> @@ -220,7 +220,7 @@ static int vaapi_av1_start_frame(AVCodecContext *avctx,
>              .error_resilient_mode         = frame_header-
> >error_resilient_mode,
>              .disable_cdf_update           = frame_header->disable_cdf_update,
>              .allow_screen_content_tools   = frame_header-
> >allow_screen_content_tools,
> -            .force_integer_mv             = frame_header->force_integer_mv,
> +            .force_integer_mv             = s->cur_frame.force_integer_mv,
>              .allow_intrabc                = frame_header->allow_intrabc,
>              .use_superres                 = frame_header->use_superres,
>              .allow_high_precision_mv      = frame_header-
> >allow_high_precision_mv,

LGTM, vaapi av1 also requires this value instead of the syntax element value.

Thanks
Haihao




More information about the ffmpeg-devel mailing list