From 7dc18077d9a8cbf8734a6e3208c4c62384ab82c6 Mon Sep 17 00:00:00 2001 From: N00MKRAD <61149547+n00mkrad@users.noreply.github.com> Date: Sat, 8 Mar 2025 18:56:00 +0100 Subject: [PATCH] Minor dedupe printing changes --- CodeLegacy/Magick/Dedupe.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CodeLegacy/Magick/Dedupe.cs b/CodeLegacy/Magick/Dedupe.cs index a12cfb7..eae4a2f 100644 --- a/CodeLegacy/Magick/Dedupe.cs +++ b/CodeLegacy/Magick/Dedupe.cs @@ -301,7 +301,7 @@ namespace Flowframes.Magick var inputFrames = new List(frames.Keys); float keepPercentage = (float)inputFrames.Count / frameCount * 100f; - Logger.Log($"Dedupe: Kept {inputFrames.Count}/{frameCount} frames ({keepPercentage.ToString("0.#")}%)"); + Logger.Log($"Deduplication: Kept {inputFrames.Count}/{frameCount} frames ({keepPercentage.ToString("0.#")}%)"); if(Interpolate.currentSettings != null && Interpolate.currentSettings.interpFactor == 1) { @@ -309,11 +309,9 @@ namespace Flowframes.Magick Logger.Log($"Dedupe: Factor is 1, will not redupe; overriding factor to {frameCount}/{inputFrames.Count} = {Interpolate.currentSettings.interpFactor.ToString("0.######")}", true); } - Logger.Log($""); - if (keepPercentage > 95f) { - Logger.Log("Dedupe: Less than 5% duplicate frames detected, will not dedupe."); + Logger.Log("Deduplication: Less than 5% duplicate frames detected; disabling for this video."); Interpolate.currentSettings.dedupe = false; }