mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #6307 from rukai/fix-frame-dump-path
Handle framedump path not existing
This commit is contained in:
commit
e02025b45e
@ -130,6 +130,8 @@ bool AVIDump::CreateVideoFile()
|
|||||||
if (s_dump_path.empty())
|
if (s_dump_path.empty())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
File::CreateFullPath(s_dump_path);
|
||||||
|
|
||||||
AVOutputFormat* output_format = av_guess_format(s_format.c_str(), s_dump_path.c_str(), nullptr);
|
AVOutputFormat* output_format = av_guess_format(s_format.c_str(), s_dump_path.c_str(), nullptr);
|
||||||
if (!output_format)
|
if (!output_format)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user