PR #23954 opened by Kacper Michajłow (kasper93) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23954 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23954.patch
chroma_sample_position is a single bit and cannot hold the 2-bit AV1 value, so CSP_COLOCATED was silently truncated to CSP_UNKNOWN. tg_start and tg_end are meaningless because the bitstream is submitted with per tile granularity. libva deprecated all three without a replacement. Fixes -Wdeprecated-declarations. From b658062a99a44f9e6f864101dfcc92c531e330d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <[email protected]> Date: Wed, 29 Jul 2026 22:22:50 +0200 Subject: [PATCH] avcodec/vaapi_av1: stop setting deprecated VA-API fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chroma_sample_position is a single bit and cannot hold the 2-bit AV1 value, so CSP_COLOCATED was silently truncated to CSP_UNKNOWN. tg_start and tg_end are meaningless because the bitstream is submitted with per tile granularity. libva deprecated all three without a replacement. Fixes -Wdeprecated-declarations. Signed-off-by: Kacper Michajłow <[email protected]> --- libavcodec/vaapi_av1.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/vaapi_av1.c b/libavcodec/vaapi_av1.c index 0d096401eb..d00bb601a5 100644 --- a/libavcodec/vaapi_av1.c +++ b/libavcodec/vaapi_av1.c @@ -195,7 +195,6 @@ static int vaapi_av1_start_frame(AVCodecContext *avctx, .color_range = seq->color_config.color_range, .subsampling_x = seq->color_config.subsampling_x, .subsampling_y = seq->color_config.subsampling_y, - .chroma_sample_position = seq->color_config.chroma_sample_position, .film_grain_params_present = seq->film_grain_params_present && !(avctx->export_side_data & AV_CODEC_EXPORT_DATA_FILM_GRAIN), }, @@ -431,8 +430,6 @@ static int vaapi_av1_decode_slice(AVCodecContext *avctx, .slice_data_flag = VA_SLICE_DATA_FLAG_ALL, .tile_row = s->tile_group_info[i].tile_row, .tile_column = s->tile_group_info[i].tile_column, - .tg_start = s->tg_start, - .tg_end = s->tg_end, }; } -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
