mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-15 07:57:19 +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."));
|
tr("If the issue persists, try reinstalling your GPU drivers and GeForce Experience."));
|
||||||
break;
|
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:
|
default:
|
||||||
s_ActiveSession->m_UnexpectedTermination = true;
|
s_ActiveSession->m_UnexpectedTermination = true;
|
||||||
emit s_ActiveSession->displayLaunchError(tr("Connection terminated"));
|
emit s_ActiveSession->displayLaunchError(tr("Connection terminated"));
|
||||||
|
|
Loading…
Reference in a new issue