This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 7432fed62b avcodec/vaapi_av1: stop setting deprecated VA-API fields
7432fed62b is described below

commit 7432fed62bf0c07a45a82b874197decbb080df66
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Wed Jul 29 22:22:50 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Aug 10 20:22:42 2026 +0200

    avcodec/vaapi_av1: stop setting deprecated VA-API fields
    
    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,
         };
     }
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to