aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/nvenc_h264.c
diff options
context:
space:
mode:
authorMiroslav Slugen <thunder.m@email.cz>2016-12-30 22:02:42 +0100
committerTimo Rothenpieler <timo@rothenpieler.org>2017-01-01 14:37:09 +0100
commit1841eda6796671cc761e446bbca0f73d629ade4e (patch)
tree516dac4d1b455263171dd1abf5796d8dd8ba8975 /libavcodec/nvenc_h264.c
parentf8c503d9270eaa16126b93fc41c7ab3b42b4dd2c (diff)
downloadffmpeg-1841eda6796671cc761e446bbca0f73d629ade4e.tar.gz
avcodec/nvenc: Make AUD optional for h264_nvenc and hevc_nvenc
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc_h264.c')
-rw-r--r--libavcodec/nvenc_h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c
index 71e27fd110..cae27aaf58 100644
--- a/libavcodec/nvenc_h264.c
+++ b/libavcodec/nvenc_h264.c
@@ -107,6 +107,7 @@ static const AVOption options[] = {
OFFSET(aq_strength), AV_OPT_TYPE_INT, { .i64 = 8 }, 1, 15, VE },
{ "cq", "Set target quality level (0 to 51, 0 means automatic) for constant quality mode in VBR rate control",
OFFSET(quality), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 51, VE },
+ { "aud", "Use access unit delimiters", OFFSET(aud), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE },
{ NULL }
};