From c705184f893785358e3f389008f4946602018f86 Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Mon, 1 Mar 2021 17:34:47 +0100 Subject: [PATCH] frameOrderDebug: New thread indicator --- Code/Main/FrameOrder.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Code/Main/FrameOrder.cs b/Code/Main/FrameOrder.cs index c2d5457..340aa34 100644 --- a/Code/Main/FrameOrder.cs +++ b/Code/Main/FrameOrder.cs @@ -141,6 +141,9 @@ namespace Flowframes.Main if (Interpolate.canceled) return; if (i >= frameFilesWithoutLast.Length) break; + if (debug && i == startIndex) + fileContent += $"# NEW THREAD - {startIndex} to {startIndex + count}\n"; + string inputFilenameNoExt = Path.GetFileNameWithoutExtension(frameFilesWithoutLast[i].Name); int dupesAmount = dupesDict.ContainsKey(inputFilenameNoExt) ? dupesDict[inputFilenameNoExt] : 0; bool discardThisFrame = (sceneDetection && (i + 2) < frameFilesWithoutLast.Length && sceneFrames.Contains(Path.GetFileNameWithoutExtension(frameFilesWithoutLast[i + 1].Name))); // i+2 is in scene detection folder, means i+1 is ugly interp frame