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