summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-05-25 14:59:33 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-05-25 14:59:33 +0200
commit09386e621d50d9f4f3e894afc888aa980b5fafac (patch)
tree4a609c59b9f91100bafa6e73879be698789c8954
parent8d4dc7bc779ba257cb108029e54f30d9be902c99 (diff)
downloadvdr-09386e621d50d9f4f3e894afc888aa980b5fafac.tar.gz
vdr-09386e621d50d9f4f3e894afc888aa980b5fafac.tar.bz2
Fixed handling VPS timers in case the EPG event hasn't been 'seen' in a while
-rw-r--r--HISTORY1
-rw-r--r--epg.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 677d4e26..57ea3c35 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4733,3 +4733,4 @@ Video Disk Recorder Revision History
Udo Richter).
- Fixed handling the running status of EPG events in case the "Schedule" menu is
currently open (i.e. a write lock on the schedules data can't be achieved).
+- Fixed handling VPS timers in case the EPG event hasn't been 'seen' in a while.
diff --git a/epg.c b/epg.c
index 96c43e54..566f20ee 100644
--- a/epg.c
+++ b/epg.c
@@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
*
- * $Id: epg.c 1.74 2006/05/12 13:25:44 kls Exp $
+ * $Id: epg.c 1.75 2006/05/25 14:55:36 kls Exp $
*/
#include "epg.h"
@@ -227,7 +227,7 @@ bool cEvent::HasTimer(void) const
bool cEvent::IsRunning(bool OrAboutToStart) const
{
- return SeenWithin(RUNNINGSTATUSTIMEOUT) && runningStatus >= (OrAboutToStart ? SI::RunningStatusStartsInAFewSeconds : SI::RunningStatusPausing);
+ return runningStatus >= (OrAboutToStart ? SI::RunningStatusStartsInAFewSeconds : SI::RunningStatusPausing);
}
cString cEvent::GetDateString(void) const