mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-26 01:10:38 -04:00
obs-outputs: Fix FLV corruption bug
The 'sent_headers' member variable of the FLV output would not be reset when the output was restarted, causing important data to not be written, thus creating an invalid FLV file.
This commit is contained in:
@@ -79,6 +79,7 @@ static void flv_output_stop(void *data)
|
||||
fclose(stream->file);
|
||||
obs_output_end_data_capture(stream->output);
|
||||
stream->active = false;
|
||||
stream->sent_headers = false;
|
||||
|
||||
info("FLV file output complete");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user