mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-08-17 17:06:08 +00:00
Display error if video decoder doesn't initialize
This commit is contained in:
parent
5f5f835b2e
commit
566181e8d7
@ -826,6 +826,7 @@ void Session::exec()
|
|||||||
SDL_AtomicUnlock(&m_DecoderLock);
|
SDL_AtomicUnlock(&m_DecoderLock);
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"Failed to recreate decoder after reset");
|
"Failed to recreate decoder after reset");
|
||||||
|
emit displayLaunchError("Unable to initialize video decoder. Please check your streaming settings and try again.");
|
||||||
goto DispatchDeferredCleanup;
|
goto DispatchDeferredCleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user