Skip to content
Permalink
Browse files
Merge pull request #6307 from rukai/fix-frame-dump-path
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.
@@ -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)
{

0 comments on commit e02025b

Please sign in to comment.