소스 검색

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.
jp9000 11 년 전
부모
커밋
a7d2450d8e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      plugins/obs-outputs/flv-output.c

+ 1 - 0
plugins/obs-outputs/flv-output.c

@@ -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");
 	}