1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed dropping outdated events

This commit is contained in:
Klaus Schmidinger 2021-04-13 13:35:17 +02:00
parent 65aafacd8e
commit cd834c79ba
2 changed files with 5 additions and 4 deletions

View File

@ -9641,7 +9641,7 @@ Video Disk Recorder Revision History
- No longer switching devices for pattern timers (thanks to Helmut Binder). - No longer switching devices for pattern timers (thanks to Helmut Binder).
- cTimer::TriggerRespawn() now only acts on local timers. - 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 - 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 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, machine was still covered by the initial timer (which, from the remote machine's standpoint,
was "remote"). was "remote").
- Now adjusting spawned timers before setting events to timers. - Now adjusting spawned timers before setting events to timers.
- Fixed dropping outdated events.

6
epg.c
View File

@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by * Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * 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" #include "epg.h"
@ -1118,9 +1118,9 @@ void cSchedule::DropOutdated(time_t SegmentStart, time_t SegmentEnd, uchar Table
DelEvent(p); DelEvent(p);
} }
} }
else
break;
} }
else
break;
p = n; p = n;
} }
} }