diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-03-20 14:18:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-03-20 14:18:04 +0100 |
commit | f1c9ad7a5e9b080f6c8f02abb4705d593122f86f (patch) | |
tree | 9462f4255afc3252a4fa7d67498a7f88704057a3 /timers.c | |
parent | db4701fd8ff52eab90b3235996de77e6f0f239c7 (diff) | |
download | vdr-f1c9ad7a5e9b080f6c8f02abb4705d593122f86f.tar.gz vdr-f1c9ad7a5e9b080f6c8f02abb4705d593122f86f.tar.bz2 |
No longer assigning expired events to timers
Diffstat (limited to 'timers.c')
-rw-r--r-- | timers.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 1.28 2005/03/20 13:13:02 kls Exp $ + * $Id: timers.c 1.29 2005/03/20 14:18:04 kls Exp $ */ #include "timers.h" @@ -610,6 +610,8 @@ void cTimers::SetEvents(void) Event = e; } } + if (Event && Event->EndTime() < now - EXPIRELATENCY && !Event->IsRunning()) + Event = NULL; ti->SetEvent(Schedule, Event); } } |