mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-25 04:39:25 +01:00
Delete vid if it exists for some reason
This commit is contained in:
@@ -181,6 +181,7 @@ namespace Flowframes.Media
|
||||
string containerExt = Path.GetExtension(interpVideo);
|
||||
string tempPath = Path.Combine(tempFolder, $"vid{containerExt}");
|
||||
string outPath = Path.Combine(tempFolder, $"muxed{containerExt}");
|
||||
IOUtils.TryDeleteIfExists(tempPath);
|
||||
File.Move(interpVideo, tempPath);
|
||||
string inName = Path.GetFileName(tempPath);
|
||||
string outName = Path.GetFileName(outPath);
|
||||
|
||||
Reference in New Issue
Block a user