summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.h
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2021-06-06 21:53:53 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2021-06-06 22:01:56 +0200
commit8bcce5673a267ed371140bf3228ffb420ca2f69b (patch)
treebdac80e70cf398409f2661c70c120a3994bf6a79 /libavcodec/nvenc.h
parentc67f354be8610eefb9a2b195f6dc4d6da637b687 (diff)
avcodec/nvenc: add option to disable all extra SEI data
With these triggering a lot of crashes recently, an option to globally disable all of them is added as a tool to work around those crashes in case the SEI data is not needed by the user. Also re-enables s12m for hevc_nvenc, since the issue is not specifically with that, but it affects all SEI data. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r--libavcodec/nvenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h
index ccf484fe38..85d3a33601 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -222,6 +222,7 @@ typedef struct NvencContext
int tuning_info;
int multipass;
int ldkfs;
+ int extra_sei;
} NvencContext;
int ff_nvenc_encode_init(AVCodecContext *avctx);