mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
src/neutrino.cpp: -add lockStandbyCall
This commit is contained in:
@@ -207,6 +207,7 @@ CNeutrinoApp::CNeutrinoApp()
|
|||||||
RADIOchannelList = NULL;
|
RADIOchannelList = NULL;
|
||||||
skipShutdownTimer = false;
|
skipShutdownTimer = false;
|
||||||
skipSleepTimer = false;
|
skipSleepTimer = false;
|
||||||
|
lockStandbyCall = false;
|
||||||
current_muted = 0;
|
current_muted = 0;
|
||||||
recordingstatus = 0;
|
recordingstatus = 0;
|
||||||
g_channel_list_changed = 0;
|
g_channel_list_changed = 0;
|
||||||
@@ -3079,6 +3080,11 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
|||||||
//static bool wasshift = false;
|
//static bool wasshift = false;
|
||||||
INFO("%s", bOnOff ? "ON" : "OFF" );
|
INFO("%s", bOnOff ? "ON" : "OFF" );
|
||||||
|
|
||||||
|
if(lockStandbyCall)
|
||||||
|
return;
|
||||||
|
|
||||||
|
lockStandbyCall = true;
|
||||||
|
|
||||||
if( bOnOff ) {
|
if( bOnOff ) {
|
||||||
if( mode == mode_scart ) {
|
if( mode == mode_scart ) {
|
||||||
//g_Controld->setScartMode( 0 );
|
//g_Controld->setScartMode( 0 );
|
||||||
@@ -3207,6 +3213,7 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
|||||||
g_volume->AudioMute(current_muted, true);
|
g_volume->AudioMute(current_muted, true);
|
||||||
StartSubtitles();
|
StartSubtitles();
|
||||||
}
|
}
|
||||||
|
lockStandbyCall = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CNeutrinoApp::radioMode( bool rezap)
|
void CNeutrinoApp::radioMode( bool rezap)
|
||||||
|
@@ -119,6 +119,7 @@ private:
|
|||||||
|
|
||||||
bool skipShutdownTimer;
|
bool skipShutdownTimer;
|
||||||
bool skipSleepTimer;
|
bool skipSleepTimer;
|
||||||
|
bool lockStandbyCall;
|
||||||
bool pbBlinkChange;
|
bool pbBlinkChange;
|
||||||
int tvsort[LIST_MODE_LAST];
|
int tvsort[LIST_MODE_LAST];
|
||||||
int radiosort[LIST_MODE_LAST];
|
int radiosort[LIST_MODE_LAST];
|
||||||
|
Reference in New Issue
Block a user