summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-04-13 13:35:17 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-04-13 13:35:17 +0200
commitcd834c79ba26c1a10f6fa8afa3591490630cde8a (patch)
treedda6082ddfd029fc7823786b44539dd9d4cfa009
parent65aafacd8e6e9e3948bbd94f9bcc1720afbfb5b4 (diff)
downloadvdr-cd834c79ba26c1a10f6fa8afa3591490630cde8a.tar.gz
vdr-cd834c79ba26c1a10f6fa8afa3591490630cde8a.tar.bz2
Fixed dropping outdated events
-rw-r--r--HISTORY3
-rw-r--r--epg.c6
2 files changed, 5 insertions, 4 deletions
diff --git a/HISTORY b/HISTORY
index f9ba6686..6667d23e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9641,7 +9641,7 @@ Video Disk Recorder Revision History
- No longer switching devices for pattern timers (thanks to Helmut Binder).
- cTimer::TriggerRespawn() now only acts on local timers.
-2021-04-10:
+2021-04-13:
- When spawning pattern timers, the new function cTimers::GetTimerForEvent() is now used
to check whether a matching event already has a local spawned timer. Reason: creating a timer
@@ -9651,3 +9651,4 @@ Video Disk Recorder Revision History
machine was still covered by the initial timer (which, from the remote machine's standpoint,
was "remote").
- Now adjusting spawned timers before setting events to timers.
+- Fixed dropping outdated events.
diff --git a/epg.c b/epg.c
index 1f970f56..2f1d2a23 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.3 2021/04/06 09:01:26 kls Exp $
+ * $Id: epg.c 5.4 2021/04/13 13:35:17 kls Exp $
*/
#include "epg.h"
@@ -1118,9 +1118,9 @@ void cSchedule::DropOutdated(time_t SegmentStart, time_t SegmentEnd, uchar Table
DelEvent(p);
}
}
+ else
+ break;
}
- else
- break;
p = n;
}
}