Commit 4c232628 authored by hwren's avatar hwren Committed by Jun Zhao

lavc/libxavs2: fix intra period meaning conflict

Signed-off-by: 's avatarhwren <hwrenx@126.com>
parent 9c190ad3
...@@ -85,8 +85,8 @@ static av_cold int xavs2_init(AVCodecContext *avctx) ...@@ -85,8 +85,8 @@ static av_cold int xavs2_init(AVCodecContext *avctx)
xavs2_opt_set2("Log", "%d", cae->log_level); xavs2_opt_set2("Log", "%d", cae->log_level);
xavs2_opt_set2("Preset", "%d", cae->preset_level); xavs2_opt_set2("Preset", "%d", cae->preset_level);
/* not the same parameter as the IntraPeriod in xavs2 log */ xavs2_opt_set2("IntraPeriodMax", "%d", avctx->gop_size);
xavs2_opt_set2("IntraPeriod", "%d", avctx->gop_size); xavs2_opt_set2("IntraPeriodMin", "%d", avctx->gop_size);
xavs2_opt_set2("ThreadFrames", "%d", avctx->thread_count); xavs2_opt_set2("ThreadFrames", "%d", avctx->thread_count);
xavs2_opt_set2("ThreadRows", "%d", cae->lcu_row_threads); xavs2_opt_set2("ThreadRows", "%d", cae->lcu_row_threads);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment