Add error text for ML_ERROR_FRAME_CONVERSION

This commit is contained in:
Cameron Gutman 2022-10-04 22:05:18 -05:00
parent d77a255721
commit 071c76c06a

View file

@ -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"));