minor fixes yay

This commit is contained in:
N00MKRAD
2020-12-03 00:04:46 +01:00
parent b87a1724d6
commit 9891221515
2 changed files with 2 additions and 1 deletions

View File

@@ -166,7 +166,7 @@ namespace Flowframes
string pathNoExt = Path.ChangeExtension(inputFile, null);
string ext = Path.GetExtension(inputFile);
string args = $" -stream_loop {times} -i {inputFile.Wrap()} -c copy \"{pathNoExt}-Loop{times}{ext}\"";
await AvProcess.RunFfmpeg(args, AvProcess.LogMode.OnlyLastLine);
await AvProcess.RunFfmpeg(args, AvProcess.LogMode.Hidden);
if (delSrc)
DeleteSource(inputFile);
}

View File

@@ -245,6 +245,7 @@ namespace Flowframes
Logger.Log("Canceled interpolation.");
if (!string.IsNullOrWhiteSpace(reason) && !noMsgBox)
Utils.ShowMessage($"Canceled:\n\n{reason}");
Program.mainForm.UpdateStepByStepControls(); // This is needed, idk why
}
public static void Cleanup(string interpFramesDir, bool ignoreKeepSetting = false)