From 8bcce5673a267ed371140bf3228ffb420ca2f69b Mon Sep 17 00:00:00 2001 From: Timo Rothenpieler Date: Sun, 6 Jun 2021 21:53:53 +0200 Subject: 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 --- libavcodec/nvenc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/nvenc.h') 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); -- cgit v1.2.3