Display error if video decoder doesn't initialize

This commit is contained in:
Cameron Gutman 2018-08-11 22:49:36 -07:00
parent 5f5f835b2e
commit 566181e8d7

View File

@ -826,6 +826,7 @@ void Session::exec()
SDL_AtomicUnlock(&m_DecoderLock);
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
"Failed to recreate decoder after reset");
emit displayLaunchError("Unable to initialize video decoder. Please check your streaming settings and try again.");
goto DispatchDeferredCleanup;
}