mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-07-10 12:37:56 +02:00
Don't block GIF encoding if export framerate is resampled to <=50
Previously it was not possible to output to GIF if the output FPS is >50, even when resampling to <=50.
This commit is contained in:
@@ -277,9 +277,9 @@ namespace Flowframes.Main
|
||||
ShowMessage("Interpolation factor is not valid!");
|
||||
passes = false;
|
||||
}
|
||||
if (passes && outMode == i.OutMode.VidGif && fpsOut > 50)
|
||||
if (passes && outMode == i.OutMode.VidGif && fpsOut > 50 && Config.GetFloat("maxFps") != 0 && Config.GetFloat("maxFps") > 50)
|
||||
{
|
||||
ShowMessage("Invalid output frame rate!\nGIF does not properly support frame rates above 40 FPS.\nPlease use MP4, WEBM or another video format.");
|
||||
ShowMessage("Invalid output frame rate!\nGIF does not properly support frame rates above 50 FPS.\nPlease use MP4, WEBM or another video format.");
|
||||
passes = false;
|
||||
}
|
||||
if (passes && fpsOut < 1 || fpsOut > 1000)
|
||||
|
||||
Reference in New Issue
Block a user