[FFmpeg-cvslog] lavc/libxavs2: fix intra period meaning conflict

hwren git at videolan.org
Sun Oct 28 09:19:22 EET 2018


ffmpeg | branch: master | hwren <hwrenx at 126.com> | Thu Oct 18 23:02:09 2018 +0800| [4c23262811068439b359071c959c1fe77d116ff1] | committer: Jun Zhao

lavc/libxavs2: fix intra period meaning conflict

Signed-off-by: hwren <hwrenx at 126.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4c23262811068439b359071c959c1fe77d116ff1
---

 libavcodec/libxavs2.c | 4 ++--
 1 file 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);



More information about the ffmpeg-cvslog mailing list