On Di, 2024-10-08 at 22:34 +0200, Ingo Brückl wrote:
>      FFHWBaseEncodeContext       *base_ctx = avctx->priv_data;
> +    VAAPIEncodeContext               *ctx = avctx->priv_data;

Please add this between #if !CONFIG_VAAPI_1 and #endif too. 

BTW we are considering to remove the support for libva 1.x,
see https://ffmpeg.org/pipermail/ffmpeg-devel/2024-June/329014.html . You'd be
better to upgrade your libva if you want to use vaapi encoding in FFmpeg.

Thanks
Haihao

>      VAAPIEncodeH264Context          *priv = avctx->priv_data;
>      VAAPIEncodePicture         *vaapi_pic = pic->priv;
>      VAAPIEncodeH264Picture          *hpic = pic->codec_priv;
> --

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to