diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-03 09:02:24 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-03 09:02:24 +0200 |
commit | 79b57feab6babc566fca72a7ae8a889d7758651a (patch) | |
tree | a03a55e7af0c73d4bf257d39f4e7c980f9340043 /epg.c | |
parent | 1a92ae77a067454437595dd292d08d8dd2e17879 (diff) | |
download | vdr-79b57feab6babc566fca72a7ae8a889d7758651a.tar.gz vdr-79b57feab6babc566fca72a7ae8a889d7758651a.tar.bz2 |
Events in the EIT that end before the EPG linger time are now ignored in the incoming data stream
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 4.4 2017/04/02 11:34:15 kls Exp $ + * $Id: epg.c 4.5 2017/05/03 08:58:19 kls Exp $ */ #include "epg.h" @@ -1098,7 +1098,7 @@ void cSchedule::Cleanup(time_t Time) { cEvent *Event; while ((Event = events.First()) != NULL) { - if (!Event->HasTimer() && Event->EndTime() + Setup.EPGLinger * 60 + 3600 < Time) // adding one hour for safety + if (!Event->HasTimer() && Event->EndTime() + Setup.EPGLinger * 60 < Time) DelEvent(Event); else break; |