summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-26 10:25:59 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-26 10:25:59 +0100
commit9488c94133526fc9b0945638cdc74c6fffabbc61 (patch)
tree408b32c19fcb44cba763d89d6bfd5fca1e35cd73 /timers.c
parent450c7ef1af67a308780f1df920939b5e8f2edf9b (diff)
downloadvdr-9488c94133526fc9b0945638cdc74c6fffabbc61.tar.gz
vdr-9488c94133526fc9b0945638cdc74c6fffabbc61.tar.bz2
Fixed setting events to timers in case a non-VPS event has expired
Diffstat (limited to 'timers.c')
-rw-r--r--timers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timers.c b/timers.c
index b5e77cdb..9590d7d2 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 1.48 2006/02/25 15:57:56 kls Exp $
+ * $Id: timers.c 1.49 2006/02/26 10:17:38 kls Exp $
*/
#include "timers.h"
@@ -467,7 +467,7 @@ void cTimer::SetEventFromSchedule(const cSchedules *Schedules)
Event = e;
}
}
- if (Event && Event->EndTime() < now - EXPIRELATENCY && !Event->IsRunning())
+ if (Event && Event->EndTime() < now - EXPIRELATENCY && Overlap > FULLMATCH && !Event->IsRunning())
Event = NULL;
SetEvent(Event);
}