1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
James Almer 2022-03-13 15:17:40 -03:00
parent 4e47ebf38b
commit 50bc872635

View File

@ -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)