diff options
author | hwren <hwrenx@126.com> | 2018-10-18 23:02:09 +0800 |
---|---|---|
committer | Jun Zhao <jun.zhao@intel.com> | 2018-10-28 14:20:29 +0800 |
commit | 4c23262811068439b359071c959c1fe77d116ff1 (patch) | |
tree | 4b8f76bad27a68a167552ef21520c4962c32b962 /libavcodec/libxavs2.c | |
parent | 9c190ad39481452a7424e65c3692c7cbf9533d84 (diff) | |
download | ffmpeg-4c23262811068439b359071c959c1fe77d116ff1.tar.gz |
lavc/libxavs2: fix intra period meaning conflict
Signed-off-by: hwren <hwrenx@126.com>
Diffstat (limited to 'libavcodec/libxavs2.c')
-rw-r--r-- | libavcodec/libxavs2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index 1152c634e8..f07fc635af 100644 --- a/libavcodec/libxavs2.c +++ b/libavcodec/libxavs2.c @@ -85,8 +85,8 @@ static av_cold int xavs2_init(AVCodecContext *avctx) xavs2_opt_set2("Log", "%d", cae->log_level); xavs2_opt_set2("Preset", "%d", cae->preset_level); - /* not the same parameter as the IntraPeriod in xavs2 log */ - xavs2_opt_set2("IntraPeriod", "%d", avctx->gop_size); + xavs2_opt_set2("IntraPeriodMax", "%d", avctx->gop_size); + xavs2_opt_set2("IntraPeriodMin", "%d", avctx->gop_size); xavs2_opt_set2("ThreadFrames", "%d", avctx->thread_count); xavs2_opt_set2("ThreadRows", "%d", cae->lcu_row_threads); |