Skip to content

Commit

Permalink
Merge pull request #6307 from rukai/fix-frame-dump-path
Browse files Browse the repository at this point in the history
Handle framedump path not existing
  • Loading branch information
degasus committed Jan 17, 2018
2 parents 2719e1f + 6c7e601 commit e02025b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/VideoCommon/AVIDump.cpp
Expand Up @@ -130,6 +130,8 @@ bool AVIDump::CreateVideoFile()
if (s_dump_path.empty())
return false;

File::CreateFullPath(s_dump_path);

AVOutputFormat* output_format = av_guess_format(s_format.c_str(), s_dump_path.c_str(), nullptr);
if (!output_format)
{
Expand Down

0 comments on commit e02025b

Please sign in to comment.