mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-02-22 12:40:11 +00:00
Add friendly message when encoder detection fails
This commit is contained in:
parent
cb57322190
commit
e430f51e2f
@ -2721,7 +2721,13 @@ namespace video {
|
||||
}
|
||||
|
||||
if (chosen_encoder == nullptr) {
|
||||
BOOST_LOG(fatal) << "Couldn't find any working encoder"sv;
|
||||
BOOST_LOG(fatal) << "Unable to find display or encoder during startup."sv;
|
||||
if (!config::video.adapter_name.empty() || !config::video.output_name.empty()) {
|
||||
BOOST_LOG(fatal) << "Please ensure your manually chosen GPU and monitor are connected and powered on."sv;
|
||||
}
|
||||
else {
|
||||
BOOST_LOG(fatal) << "Please check that a display is connected and powered on."sv;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user