fix missing frame when you start another dump without closing dolphin

This commit is contained in:
feos 2019-11-04 21:17:01 +03:00
parent 15e6e7ddd2
commit cb6a632c60
1 changed files with 1 additions and 0 deletions

View File

@ -392,6 +392,7 @@ void FrameDump::Stop()
av_write_trailer(s_format_context);
CloseVideoFile();
s_file_index = 0;
s_start_dumping = false;
NOTICE_LOG(VIDEO, "Stopping frame dump");
OSD::AddMessage("Stopped dumping frames");
}