Config key for backup muxing

This commit is contained in:
N00MKRAD
2021-06-07 20:39:51 +02:00
parent 15d6a16e52
commit dbe3468f2d
2 changed files with 4 additions and 0 deletions

View File

@@ -284,6 +284,7 @@ namespace Flowframes.IO
allowSymlinkEncoding,
allowSymlinkImport,
autoDedupFrames,
autoEncBackup,
autoEncDebug,
autoEncMode,
autoEncSafeBufferFlavrCuda,

View File

@@ -163,6 +163,9 @@ namespace Flowframes.Main
public static async Task ChunksToVideos(string tempFolder, string chunksFolder, string baseOutPath, bool isBackup = false)
{
if (isBackup && !Config.GetBool(Config.Key.autoEncBackup))
return;
if (IOUtils.GetAmountOfFiles(chunksFolder, true, "*" + FFmpegUtils.GetExt(I.current.outMode)) < 1)
{
I.Cancel("No video chunks found - An error must have occured during chunk encoding!", AiProcess.hasShownError);