summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-03-13 15:17:40 -0300
committerJames Almer <jamrial@gmail.com>2022-03-13 15:29:06 -0300
commit50bc87263576c01d711007fdc103cf24bf05c5ce (patch)
tree8b9ec72b65f5d01db932ad9ce95b30d068b7afc3 /libavcodec
parent4e47ebf38b972b860991d73f2293edafd7db3d0a (diff)
avcodec/libsvtav1: fine tune qp mode settings
As requested in https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1829 Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libsvtav1.c3
1 files changed, 1 insertions, 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)