From b8c78a340d12cecad290c16688cbd12c842a7983 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 3 Mar 2019 04:08:11 -0800 Subject: [PATCH] obs-ffmpeg: Fix SEI data output SEI was using the wrong variable for its size. --- plugins/obs-ffmpeg/jim-nvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/obs-ffmpeg/jim-nvenc.c b/plugins/obs-ffmpeg/jim-nvenc.c index 4cd7a41af..daf605938 100644 --- a/plugins/obs-ffmpeg/jim-nvenc.c +++ b/plugins/obs-ffmpeg/jim-nvenc.c @@ -902,7 +902,7 @@ static bool nvenc_sei_data(void *data, uint8_t **sei, size_t *size) } *sei = enc->sei; - *size = enc->header_size; + *size = enc->sei_size; return true; }