AVIDump: Rename CloseFile to CloseVideoFile

Retains symmetry with CreateVideoFile.
This commit is contained in:
Lioncash 2017-01-29 22:01:05 -05:00
parent 548e2d6353
commit b7e59f4e55
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ bool AVIDump::Start(int w, int h)
bool success = CreateVideoFile();
if (!success)
{
CloseFile();
CloseVideoFile();
OSD::AddMessage("AVIDump Start failed");
}
return success;
@ -257,13 +257,13 @@ void AVIDump::AddFrame(const u8* data, int width, int height, int stride, const
void AVIDump::Stop()
{
av_write_trailer(s_format_context);
CloseFile();
CloseVideoFile();
s_file_index = 0;
NOTICE_LOG(VIDEO, "Stopping frame dump");
OSD::AddMessage("Stopped dumping frames");
}
void AVIDump::CloseFile()
void AVIDump::CloseVideoFile()
{
if (s_stream)
{

View File

@ -10,7 +10,7 @@ class AVIDump
{
private:
static bool CreateVideoFile();
static void CloseFile();
static void CloseVideoFile();
static void CheckResolution(int width, int height);
public: