diff options
author | Brad Hards <bradh@frogmouth.net> | 2021-05-25 20:11:57 +1000 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2021-06-04 18:24:49 +0200 |
commit | 63948a61700d2530f13b7d32df03060f0e7fbb94 (patch) | |
tree | 506ee3e5d60c80519df6450b27f285c028886ee4 /libavcodec/nvenc.h | |
parent | 2fac1e370c9cf48b2e9d4a7f2c0d7236017f9bbe (diff) |
avcodec/nvenc: use persistent sei data buffer
Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r-- | libavcodec/nvenc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h index 314c270e74..ccf484fe38 100644 --- a/libavcodec/nvenc.h +++ b/libavcodec/nvenc.h @@ -166,6 +166,9 @@ typedef struct NvencContext AVFifoBuffer *output_surface_ready_queue; AVFifoBuffer *timestamp_list; + NV_ENC_SEI_PAYLOAD *sei_data; + int sei_data_size; + struct { void *ptr; int ptr_index; |