mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-07-10 04:21:49 +02:00
Config key for backup muxing
This commit is contained in:
@@ -284,6 +284,7 @@ namespace Flowframes.IO
|
||||
allowSymlinkEncoding,
|
||||
allowSymlinkImport,
|
||||
autoDedupFrames,
|
||||
autoEncBackup,
|
||||
autoEncDebug,
|
||||
autoEncMode,
|
||||
autoEncSafeBufferFlavrCuda,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user