mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-25 12:49:26 +01:00
Allow fractional factor input (WIP: Disallow for FLAVR/RIFE-CUDA)
This commit is contained in:
@@ -153,12 +153,12 @@ namespace Flowframes.Ui
|
||||
}
|
||||
}
|
||||
|
||||
public static int ValidateInterpFactor (int factor)
|
||||
public static float ValidateInterpFactor (float factor)
|
||||
{
|
||||
AI ai = Program.mainForm.GetAi();
|
||||
|
||||
if (factor > 256)
|
||||
return 256;
|
||||
if (factor > 256f)
|
||||
return 256f;
|
||||
|
||||
// NO LONGER NEEDED WITH RIFE 3.9
|
||||
//if (ai.aiName == Implementations.rifeCuda.aiName)
|
||||
|
||||
Reference in New Issue
Block a user