aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/nvenc.h
diff options
context:
space:
mode:
authorAleksoid <Aleksoid1978@mail.ru>2023-07-27 12:26:23 +1000
committerTimo Rothenpieler <timo@rothenpieler.org>2023-08-22 23:46:11 +0200
commit7eb0d9e905f3b1ba66d37ebe5e7fe4c2f7077931 (patch)
tree4987cd950178f225f17b2e855787eb8615071e11 /libavcodec/nvenc.h
parent95433eb3aa0b1580b77ec5c08a19fad9c07ca167 (diff)
downloadffmpeg-7eb0d9e905f3b1ba66d37ebe5e7fe4c2f7077931.tar.gz
avcodec/nvenc: add option to limit slice size
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 3a4b456a41..cf0e8e5946 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -262,6 +262,7 @@ typedef struct NvencContext
int udu_sei;
int timing_info;
int highbitdepth;
+ int max_slice_size;
} NvencContext;
int ff_nvenc_encode_init(AVCodecContext *avctx);