mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-14 23:47:09 +00:00
Add error text for ML_ERROR_FRAME_CONVERSION
This commit is contained in:
parent
d77a255721
commit
071c76c06a
1 changed files with 6 additions and 0 deletions
|
@ -105,6 +105,12 @@ void Session::clConnectionTerminated(int errorCode)
|
|||
tr("If the issue persists, try reinstalling your GPU drivers and GeForce Experience."));
|
||||
break;
|
||||
|
||||
case ML_ERROR_FRAME_CONVERSION:
|
||||
s_ActiveSession->m_UnexpectedTermination = true;
|
||||
emit s_ActiveSession->displayLaunchError(tr("The host PC reported a fatal video encoding error.") + "\n\n" +
|
||||
tr("Try disabling HDR mode, changing the streaming resolution, or changing your host PC's display resolution."));
|
||||
break;
|
||||
|
||||
default:
|
||||
s_ActiveSession->m_UnexpectedTermination = true;
|
||||
emit s_ActiveSession->displayLaunchError(tr("Connection terminated"));
|
||||
|
|
Loading…
Reference in a new issue