mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
*Fix LED/VFD indication in time shift (r1828)
- Changes resulted to sometimes crash neutrino, this patch fixes it. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1846 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -295,7 +295,8 @@ void CVFD::showTime(bool force)
|
||||
}
|
||||
}
|
||||
|
||||
if (CRecordManager::getInstance()->RecordingStatus()) {
|
||||
int tmp_recstatus = CNeutrinoApp::getInstance()->recordingstatus;
|
||||
if (tmp_recstatus) {
|
||||
if(clearClock) {
|
||||
clearClock = 0;
|
||||
if(has_lcd)
|
||||
@@ -307,13 +308,13 @@ void CVFD::showTime(bool force)
|
||||
ShowIcon(VFD_ICON_CAM1, true);
|
||||
setled(true);//on
|
||||
}
|
||||
} else if(clearClock || (recstatus != CRecordManager::getInstance()->RecordingStatus())) { // in case icon ON after record stopped
|
||||
} else if(clearClock || (recstatus != tmp_recstatus)) { // in case icon ON after record stopped
|
||||
clearClock = 0;
|
||||
if(has_lcd)
|
||||
ShowIcon(VFD_ICON_CAM1, false);
|
||||
setled();
|
||||
}
|
||||
recstatus = CRecordManager::getInstance()->RecordingStatus();
|
||||
recstatus = tmp_recstatus;
|
||||
}
|
||||
|
||||
void CVFD::showRCLock(int /*duration*/)
|
||||
|
Reference in New Issue
Block a user