mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
minor fixes yay
This commit is contained in:
@@ -166,7 +166,7 @@ namespace Flowframes
|
|||||||
string pathNoExt = Path.ChangeExtension(inputFile, null);
|
string pathNoExt = Path.ChangeExtension(inputFile, null);
|
||||||
string ext = Path.GetExtension(inputFile);
|
string ext = Path.GetExtension(inputFile);
|
||||||
string args = $" -stream_loop {times} -i {inputFile.Wrap()} -c copy \"{pathNoExt}-Loop{times}{ext}\"";
|
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)
|
if (delSrc)
|
||||||
DeleteSource(inputFile);
|
DeleteSource(inputFile);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -245,6 +245,7 @@ namespace Flowframes
|
|||||||
Logger.Log("Canceled interpolation.");
|
Logger.Log("Canceled interpolation.");
|
||||||
if (!string.IsNullOrWhiteSpace(reason) && !noMsgBox)
|
if (!string.IsNullOrWhiteSpace(reason) && !noMsgBox)
|
||||||
Utils.ShowMessage($"Canceled:\n\n{reason}");
|
Utils.ShowMessage($"Canceled:\n\n{reason}");
|
||||||
|
Program.mainForm.UpdateStepByStepControls(); // This is needed, idk why
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Cleanup(string interpFramesDir, bool ignoreKeepSetting = false)
|
public static void Cleanup(string interpFramesDir, bool ignoreKeepSetting = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user