summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-08-25 11:31:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-08-25 11:31:35 +0200
commit08ab22f987a7ce7489ac31e8e0d37c9054651ba8 (patch)
treefb0b9942646ab7743903d4d6091c146ef2653f58 /eit.c
parent3f03cfa14d53c17f74802d17797c39d4e2cb2856 (diff)
downloadvdr-08ab22f987a7ce7489ac31e8e0d37c9054651ba8.tar.gz
vdr-08ab22f987a7ce7489ac31e8e0d37c9054651ba8.tar.bz2
Added IsUpdate() to the EPG handler interface
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/eit.c b/eit.c
index 12e1d242..a236b896 100644
--- a/eit.c
+++ b/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 2.20 2012/06/04 10:26:10 kls Exp $
+ * $Id: eit.c 2.21 2012/08/25 11:13:00 kls Exp $
*/
#include "eit.h"
@@ -74,6 +74,8 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data, bo
if (!pEvent || handledExternally) {
if (OnlyRunningStatus)
continue;
+ if (handledExternally && !EpgHandlers.IsUpdate(SiEitEvent.getEventId(), StartTime, Tid, getVersionNumber()))
+ continue;
// If we don't have that event yet, we create a new one.
// Otherwise we copy the information into the existing event anyway, because the data might have changed.
pEvent = newEvent = new cEvent(SiEitEvent.getEventId());