Browse Source

obs-ffmpeg: Fix SEI data output

SEI was using the wrong variable for its size.
jp9000 6 years ago
parent
commit
b8c78a340d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/obs-ffmpeg/jim-nvenc.c

+ 1 - 1
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;
 }