提交 a7d2450d 编写于 作者: J jp9000

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.
上级 24428033
......@@ -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");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册