preset used in more in line with similar encoders.

Signed-off-by: Jun Zhao <mypopy...@gmail.com>
---
 libavcodec/libxavs2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c
index 41c0b63..2ade923 100644
--- a/libavcodec/libxavs2.c
+++ b/libavcodec/libxavs2.c
@@ -256,7 +256,7 @@ static const AVOption options[] = {
     { "qp"              ,   "Quantization parameter"  ,                 
OFFSET(qp)              , AV_OPT_TYPE_INT, {.i64 = 34 },  1,      63,  VE },
     { "max_qp"          ,   "max qp for rate control" ,                 
OFFSET(max_qp)          , AV_OPT_TYPE_INT, {.i64 = 55 },  0,      63,  VE },
     { "min_qp"          ,   "min qp for rate control" ,                 
OFFSET(min_qp)          , AV_OPT_TYPE_INT, {.i64 = 20 },  0,      63,  VE },
-    { "speed_level"     ,   "Speed level, higher is better but slower", 
OFFSET(preset_level)    , AV_OPT_TYPE_INT, {.i64 =  0 },  0,       9,  VE },
+    { "preset"     ,        "Set the encoding preset, higher is better but 
slower", OFFSET(preset_level)    , AV_OPT_TYPE_INT, {.i64 =  0 },  0,       9,  
VE },
     { "log_level"       ,   "log level: -1: none, 0: error, 1: warning, 2: 
info, 3: debug", OFFSET(log_level)    , AV_OPT_TYPE_INT, {.i64 =  0 },  -1,     
  3,  VE },
     { "xavs2-params"    ,   "set the xavs2 configuration using a :-separated 
list of key=value parameters", OFFSET(xavs2_opts), AV_OPT_TYPE_STRING, { 0 }, 
0, 0, VE },
     { NULL },
-- 
1.7.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to