mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8b8b89a129
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2011-11-14 (Mon, 14 Nov 2011)
Origin message was:
------------------
*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 was generated by Migit
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