Separated detected FPS from UI FPS to fix custom input rate not working correctly

This commit is contained in:
N00MKRAD
2021-04-19 19:26:58 +02:00
parent 13411d529f
commit d7b179e253
4 changed files with 13 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ namespace Flowframes.UI
int frameCount = await GetFrameCountCached.GetFrameCountAsync(path);
string fpsStr = "Not Found";
Fraction fps = (await IOUtils.GetFpsFolderOrVideo(path));
Program.mainForm.currInFpsDetected = fps;
fpsInTbox.Text = fps.GetString();
if (fps.GetFloat() > 0)