From 50bc87263576c01d711007fdc103cf24bf05c5ce Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 13 Mar 2022 15:17:40 -0300 Subject: [PATCH] avcodec/libsvtav1: fine tune qp mode settings As requested in https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1829 Signed-off-by: James Almer --- libavcodec/libsvtav1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c index 7fbc125deb..27ff882773 100644 --- a/libavcodec/libsvtav1.c +++ b/libavcodec/libsvtav1.c @@ -188,11 +188,10 @@ static int config_enc_params(EbSvtAv1EncConfiguration *param, if (svt_enc->crf > 0) { param->qp = svt_enc->crf; param->rate_control_mode = 0; - param->enable_tpl_la = 1; } else if (svt_enc->qp > 0) { param->qp = svt_enc->qp; param->rate_control_mode = 0; - param->enable_tpl_la = 0; + param->enable_adaptive_quantization = 0; } #if SVT_AV1_CHECK_VERSION(0, 9, 1)