From 6c7e6016fbf78f6fd8762c2ff863f3b955c9e52b Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Wed, 17 Jan 2018 23:10:04 +1100 Subject: [PATCH] Handle framedump path not existing --- Source/Core/VideoCommon/AVIDump.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp index 36340a4679..f93ef73978 100644 --- a/Source/Core/VideoCommon/AVIDump.cpp +++ b/Source/Core/VideoCommon/AVIDump.cpp @@ -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) {