Fixed the 'system time seen...' message in case of overlapping timers

This commit is contained in:
Klaus Schmidinger 2001-09-30 11:43:36 +02:00
parent 4558fa70b1
commit 3b67f70b9d
2 changed files with 4 additions and 2 deletions

View File

@ -794,3 +794,4 @@ Video Disk Recorder Revision History
- The new setup parameter SplitEditedFiles can be used to control whether or
not the result of an editing process shall be written into separate files.
- Fixed handling repeat function when using LIRC (thanks to Matthias Weingart).
- Fixed the "system time seen..." message in case of overlapping timers.

5
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
* $Id: vdr.c 1.79 2001/09/23 14:33:39 kls Exp $
* $Id: vdr.c 1.80 2001/09/30 11:42:58 kls Exp $
*/
#define _GNU_SOURCE
@ -355,7 +355,8 @@ int main(int argc, char *argv[])
cRecordControls::Process(Now);
cTimer *Timer = Timers.GetMatch(Now);
if (Timer) {
dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now));
if (!Timer->pending)
dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now));
if (!cRecordControls::Start(Timer))
Timer->SetPending(true);
}