mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Minor UI improvements
This commit is contained in:
@@ -15,9 +15,7 @@ namespace Flowframes.Media
|
|||||||
if (Config.GetBool(Config.Key.PerformedHwEncCheck))
|
if (Config.GetBool(Config.Key.PerformedHwEncCheck))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Logger.Log($"Detecting hardare encoding support...");
|
|
||||||
var statusForm = new SplashForm("Checking hardware encoders...", textSize: SplashForm.TextSize.Medium);
|
var statusForm = new SplashForm("Checking hardware encoders...", textSize: SplashForm.TextSize.Medium);
|
||||||
|
|
||||||
var previousMainFormOpacity = Program.mainForm.Opacity;
|
var previousMainFormOpacity = Program.mainForm.Opacity;
|
||||||
|
|
||||||
if (hideMainForm)
|
if (hideMainForm)
|
||||||
@@ -61,7 +59,11 @@ namespace Flowframes.Media
|
|||||||
await Task.Delay(waitMs);
|
await Task.Delay(waitMs);
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger.Log($"Available hardware encoders: {string.Join(", ", compEncsPretty)}");
|
if(compEncsPretty.Any())
|
||||||
|
{
|
||||||
|
Logger.Log($"Available hardware encoders: {string.Join(", ", compEncsPretty)}");
|
||||||
|
}
|
||||||
|
|
||||||
Config.Set(Config.Key.SupportedHwEncoders, string.Join(",", compatEncoders));
|
Config.Set(Config.Key.SupportedHwEncoders, string.Join(",", compatEncoders));
|
||||||
Config.Set(Config.Key.PerformedHwEncCheck, true.ToString());
|
Config.Set(Config.Key.PerformedHwEncCheck, true.ToString());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -297,7 +297,7 @@ namespace Flowframes.Os
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!gpusVk.Any() && !gpusNv.Any())
|
if (!gpusVk.Any() && !gpusNv.Any())
|
||||||
return "No GPUs detected.";
|
return "No GPUs detected";
|
||||||
|
|
||||||
string s = "";
|
string s = "";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user