diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2019-11-11 14:15:41 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2019-11-13 18:00:51 +0000 |
commit | 1354c39c78e5ca1e8bfaf9b65ed021f672f0729f (patch) | |
tree | 78da09f8e4621737843f6df08efd1e7835f4c8cd /libavcodec/librav1e.c | |
parent | a1403032c8cb0f78caa7723df940b13d247cfe47 (diff) | |
download | ffmpeg-1354c39c78e5ca1e8bfaf9b65ed021f672f0729f.tar.gz |
librav1e: Don't make users explicitly set -qp -1 to use bit rate mode
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/librav1e.c')
-rw-r--r-- | libavcodec/librav1e.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/librav1e.c b/libavcodec/librav1e.c index 5052cac896..a5aedd512c 100644 --- a/libavcodec/librav1e.c +++ b/libavcodec/librav1e.c @@ -533,7 +533,7 @@ retry: #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { - { "qp", "use constant quantizer mode", OFFSET(quantizer), AV_OPT_TYPE_INT, { .i64 = 100 }, -1, 255, VE }, + { "qp", "use constant quantizer mode", OFFSET(quantizer), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 255, VE }, { "speed", "what speed preset to use", OFFSET(speed), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 10, VE }, { "tiles", "number of tiles encode with", OFFSET(tiles), AV_OPT_TYPE_INT, { .i64 = 0 }, -1, INT64_MAX, VE }, { "tile-rows", "number of tiles rows to encode with", OFFSET(tile_rows), AV_OPT_TYPE_INT, { .i64 = 0 }, -1, INT64_MAX, VE }, |