fixed #390: When doing gif recording if directory not exist then create it

This commit is contained in:
Jaex 2014-12-16 08:48:07 +02:00
parent 1636fec4fb
commit dbd0926685

View file

@ -289,6 +289,7 @@ public void StartRecording(TaskSettings taskSettings, bool skipRegionSelection =
sourceFilePath = path = Path.Combine(taskSettings.CaptureFolder, TaskHelpers.GetFilename(taskSettings, "gif"));
}
Helpers.CreateDirectoryIfNotExist(sourceFilePath);
screenRecorder.SaveAsGIF(sourceFilePath, taskSettings.ImageSettings.ImageGIFQuality);
}