From 98912215158ae57ced10dc2258ff3898e5462cf5 Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Thu, 3 Dec 2020 00:04:46 +0100 Subject: [PATCH] minor fixes yay --- Code/AudioVideo/FFmpegCommands.cs | 2 +- Code/Main/Interpolate.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/AudioVideo/FFmpegCommands.cs b/Code/AudioVideo/FFmpegCommands.cs index 0c7ceea..003dc7f 100644 --- a/Code/AudioVideo/FFmpegCommands.cs +++ b/Code/AudioVideo/FFmpegCommands.cs @@ -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); } diff --git a/Code/Main/Interpolate.cs b/Code/Main/Interpolate.cs index 1dc2f22..d19abf1 100644 --- a/Code/Main/Interpolate.cs +++ b/Code/Main/Interpolate.cs @@ -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)