mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
neutrino-tell-the-user-if-no-frontend-is-found1.patch from neutrino-mp
Origin commit data
------------------
Commit: d0ea4ad62e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-01-13 (Sun, 13 Jan 2013)
This commit is contained in:
@@ -1777,8 +1777,7 @@ TIMER_START();
|
||||
ZapStart_arg.volume = g_settings.current_volume;
|
||||
|
||||
/* create decoders, read channels */
|
||||
CZapit::getInstance()->Start(&ZapStart_arg);
|
||||
|
||||
bool zapit_init = CZapit::getInstance()->Start(&ZapStart_arg);
|
||||
// init audio settings
|
||||
audioDecoder->SetSRS(g_settings.srs_enable, g_settings.srs_nmgr_enable, g_settings.srs_algo, g_settings.srs_ref_volume);
|
||||
//audioDecoder->setVolume(g_settings.current_volume, g_settings.current_volume);
|
||||
@@ -1796,6 +1795,12 @@ TIMER_START();
|
||||
|
||||
g_RCInput = new CRCInput();
|
||||
|
||||
/* later on, we'll crash anyway, so tell about it. */
|
||||
if (! zapit_init)
|
||||
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO,
|
||||
"Zapit initialization failed.\nThis is a fatal error, sorry.",
|
||||
CMessageBox::mbrBack, CMessageBox::mbBack);
|
||||
|
||||
InitZapitClient();
|
||||
g_Zapit->setStandby(false);
|
||||
|
||||
|
Reference in New Issue
Block a user