summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-04-28 20:44:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-04-28 20:44:56 +0200
commit4a199fe4acba6da192c0fa5b847760ca65e2c365 (patch)
tree8e5ac12681f3412aaacfc9987a99313f12fc9d84 /epg.c
parent98fa6206ac8aaef4864a4de4ac2f14d821a3bd55 (diff)
downloadvdr-4a199fe4acba6da192c0fa5b847760ca65e2c365.tar.gz
vdr-4a199fe4acba6da192c0fa5b847760ca65e2c365.tar.bz2
Now using a separate fixed value for internal EPG linger time
Diffstat (limited to 'epg.c')
-rw-r--r--epg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epg.c b/epg.c
index 2f1d2a23..7178d740 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 5.4 2021/04/13 13:35:17 kls Exp $
+ * $Id: epg.c 5.5 2021/04/28 20:44:56 kls Exp $
*/
#include "epg.h"
@@ -450,7 +450,7 @@ cString cEvent::GetVpsString(void) const
void cEvent::Dump(FILE *f, const char *Prefix, bool InfoOnly) const
{
- if (InfoOnly || startTime + duration + Setup.EPGLinger * 60 >= time(NULL)) {
+ if (InfoOnly || startTime + duration + EPG_LINGER_TIME >= time(NULL)) {
fprintf(f, "%sE %u %ld %d %X %X\n", Prefix, eventID, startTime, duration, tableID, version);
if (!isempty(title))
fprintf(f, "%sT %s\n", Prefix, title);
@@ -1135,7 +1135,7 @@ void cSchedule::Cleanup(time_t Time)
{
cEvent *Event;
while ((Event = events.First()) != NULL) {
- if (!Event->HasTimer() && Event->EndTime() + Setup.EPGLinger * 60 < Time)
+ if (!Event->HasTimer() && Event->EndTime() + EPG_LINGER_TIME < Time)
DelEvent(Event);
else
break;