mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now dropping EPG events that have a zero start time or duration
This commit is contained in:
parent
e3e40a14f3
commit
425daa4ca5
@ -564,6 +564,7 @@ Oliver Endriss <o.endriss@gmx.de>
|
||||
for reporting a problem with the name of the remote control for which the keys are
|
||||
being learned overwriting the date/time in the 'classic' skin
|
||||
for making cDvbOsd check available OSD memory at runtime
|
||||
for making cEIT::cEIT() drop EPG events that have a zero start time or duration
|
||||
|
||||
Reinhard Walter Buchner <rw.buchner@freenet.de>
|
||||
for adding some satellites to 'sources.conf'
|
||||
|
2
HISTORY
2
HISTORY
@ -3557,3 +3557,5 @@ Video Disk Recorder Revision History
|
||||
written to by a timer (thanks to Sascha Volkenandt for pointing out this one).
|
||||
- Pressing the "Play" key in live viewing mode now resumes a previous replay
|
||||
session (thanks to Mirko Dölle).
|
||||
- Now dropping EPG events that have a zero start time or duration (thanks to
|
||||
Oliver Endriss).
|
||||
|
5
eit.c
5
eit.c
@ -8,7 +8,7 @@
|
||||
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
|
||||
* Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>.
|
||||
*
|
||||
* $Id: eit.c 1.104 2005/05/15 10:36:04 kls Exp $
|
||||
* $Id: eit.c 1.105 2005/05/26 10:25:41 kls Exp $
|
||||
*/
|
||||
|
||||
#include "eit.h"
|
||||
@ -48,6 +48,9 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
|
||||
|
||||
SI::EIT::Event SiEitEvent;
|
||||
for (SI::Loop::Iterator it; eventLoop.getNext(SiEitEvent, it); ) {
|
||||
// Drop bogus events.
|
||||
if (SiEitEvent.getStartTime() == 0 || SiEitEvent.getDuration() == 0)
|
||||
continue;
|
||||
Empty = false;
|
||||
cEvent *pEvent = (cEvent *)pSchedule->GetEvent(SiEitEvent.getEventId(), SiEitEvent.getStartTime());
|
||||
if (!pEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user