From 071c76c06a352c2c7fbb5fbbf319d4d0f597fe8c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 4 Oct 2022 22:05:18 -0500 Subject: [PATCH] Add error text for ML_ERROR_FRAME_CONVERSION --- app/streaming/session.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 51e79493..1f26d330 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -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"));