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

Git pushed a commit to branch release/7.0
in repository ffmpeg.

The following commit(s) were added to refs/heads/release/7.0 by this push:
     new bdc8c505f4 avcodec/libsvtav1: rename aq_mode for v4.0.0
bdc8c505f4 is described below

commit bdc8c505f484957a40b46e21619851eba6f3180e
Author:     Christopher Degawa <[email protected]>
AuthorDate: Wed Jan 21 00:12:59 2026 -0600
Commit:     Timo Rothenpieler <[email protected]>
CommitDate: Mon Feb 2 17:21:34 2026 +0100

    avcodec/libsvtav1: rename aq_mode for v4.0.0
    
    Signed-off-by: Christopher Degawa <[email protected]>
    Signed-off-by: James Almer <[email protected]>
---
 libavcodec/libsvtav1.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
index 8fa42d590b..c7852f9ef6 100644
--- a/libavcodec/libsvtav1.c
+++ b/libavcodec/libsvtav1.c
@@ -234,7 +234,11 @@ static int config_enc_params(EbSvtAv1EncConfiguration 
*param,
     } else if (svt_enc->qp > 0) {
         param->qp                   = svt_enc->qp;
         param->rate_control_mode    = 0;
+#if SVT_AV1_CHECK_VERSION(4, 0, 0)
+        param->aq_mode = 0;
+#else
         param->enable_adaptive_quantization = 0;
+#endif
     }
 
     desc = av_pix_fmt_desc_get(avctx->pix_fmt);

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

Reply via email to