mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
VFR option in GUI, logic fixes and sanity check improvs, disable dedupe if <5% dupes
This commit is contained in:
@@ -228,6 +228,19 @@ namespace Flowframes
|
||||
|
||||
mediaFile.InputTimestampDurations = new List<float>(timestampDurations);
|
||||
|
||||
if(Config.GetInt(Config.Key.vfrHandling) == 1)
|
||||
{
|
||||
Logger.Log($"Ignoring VFR deviation threshold of {maxDeviationPercent.ToString("0.##")}%, force-enabling VFR mode due to settings");
|
||||
mediaFile.IsVfr = true;
|
||||
return;
|
||||
}
|
||||
else if (Config.GetInt(Config.Key.vfrHandling) == 2)
|
||||
{
|
||||
Logger.Log($"Ignoring VFR deviation threshold of {maxDeviationPercent.ToString("0.##")}%, force-disabling VFR mode due to settings");
|
||||
mediaFile.IsVfr = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (maxDeviationPercent > 20f)
|
||||
{
|
||||
Logger.Log($"Max timestamp deviation is {maxDeviationPercent.ToString("0.##")}% or {maxDeviationMs} ms - Assuming VFR input!", hidden: true);
|
||||
|
||||
Reference in New Issue
Block a user