diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2017-03-23 17:01:40 +0100 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2017-03-23 17:10:52 +0100 |
commit | 7fb2a7afa174fcd31c7707d4c93c0afc33f060b7 (patch) | |
tree | 458e88e84549732072204395e71dc8c71d65398b /libavcodec/nvenc_hevc.c | |
parent | 038e6aef7a54577a3bba6666cff21f5f4e3b2d0b (diff) | |
download | ffmpeg-streaming-7fb2a7afa174fcd31c7707d4c93c0afc33f060b7.zip ffmpeg-streaming-7fb2a7afa174fcd31c7707d4c93c0afc33f060b7.tar.gz |
avcodec/nvenc: Deprecate usage of global_quality, introducing qp
Diffstat (limited to 'libavcodec/nvenc_hevc.c')
-rw-r--r-- | libavcodec/nvenc_hevc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index 2804d7d..c32ba42 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -109,6 +109,8 @@ static const AVOption options[] = { { "init_qpP", "Initial QP value for P frame", OFFSET(init_qp_p), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, { "init_qpB", "Initial QP value for B frame", OFFSET(init_qp_b), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, { "init_qpI", "Initial QP value for I frame", OFFSET(init_qp_i), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, + { "qp", "Constant quantization parameter rate control method", + OFFSET(cqp), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 51, VE }, { NULL } }; |