mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-22 11:19:25 +01:00
Allow custom input FPS if FPS wasn't detected (or when using img input)
This commit is contained in:
@@ -102,6 +102,7 @@ namespace Flowframes
|
|||||||
}
|
}
|
||||||
|
|
||||||
public HTTabControl GetMainTabControl() { return mainTabControl; }
|
public HTTabControl GetMainTabControl() { return mainTabControl; }
|
||||||
|
public TextBox GetInputFpsTextbox () { return fpsInTbox; }
|
||||||
|
|
||||||
public bool IsInFocus() { return (ActiveForm == this); }
|
public bool IsInFocus() { return (ActiveForm == this); }
|
||||||
|
|
||||||
@@ -150,6 +151,7 @@ namespace Flowframes
|
|||||||
public int currInFrames;
|
public int currInFrames;
|
||||||
public long currInDuration;
|
public long currInDuration;
|
||||||
public long currInDurationCut;
|
public long currInDurationCut;
|
||||||
|
|
||||||
public void UpdateInputInfo ()
|
public void UpdateInputInfo ()
|
||||||
{
|
{
|
||||||
string str = $"Resolution: {(!currInRes.IsEmpty ? $"{currInRes.Width}x{currInRes.Height}" : "Unknown")} - ";
|
string str = $"Resolution: {(!currInRes.IsEmpty ? $"{currInRes.Width}x{currInRes.Height}" : "Unknown")} - ";
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ namespace Flowframes.UI
|
|||||||
fpsStr = fps.ToString();
|
fpsStr = fps.ToString();
|
||||||
|
|
||||||
Logger.Log($"Video FPS: {fpsStr} - Total Number Of Frames: {frameCount}", false, true);
|
Logger.Log($"Video FPS: {fpsStr} - Total Number Of Frames: {frameCount}", false, true);
|
||||||
|
Program.mainForm.GetInputFpsTextbox().ReadOnly = fps > 0;
|
||||||
Program.mainForm.currInFps = fps;
|
Program.mainForm.currInFps = fps;
|
||||||
Program.mainForm.currInFrames = frameCount;
|
Program.mainForm.currInFrames = frameCount;
|
||||||
Program.mainForm.UpdateInputInfo();
|
Program.mainForm.UpdateInputInfo();
|
||||||
|
|||||||
Reference in New Issue
Block a user