Fixed custom output dir not working for queue

This commit is contained in:
n00mkrad
2021-08-08 19:01:13 +02:00
parent 7b9d12fc23
commit c86805b865
2 changed files with 3 additions and 5 deletions

View File

@@ -153,7 +153,8 @@ namespace Flowframes.Forms
Logger.Log($"BatchForm: Dropped path: '{path}'", true);
InterpSettings current = Program.mainForm.GetCurrentSettings();
current.UpdatePaths(path, path.GetParentDir());
string outDir = (Config.GetInt("outFolderLoc") == 0) ? path.GetParentDir() : Config.Get("custOutDir").Trim();
current.UpdatePaths(path, outDir);
current.inFpsDetected = await IOUtils.GetFpsFolderOrVideo(path);
current.inFps = current.inFpsDetected;