summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-03-31 13:40:32 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2018-03-31 13:40:32 +0200
commit77f438ed85ef37dbb5c443725ebaea152426ba23 (patch)
treee8e9d9f7542a90198d2e546574e4cd6cf8e32d8a /eit.c
parent9dea1502eb2cbee27465933473bdf8d85c468368 (diff)
downloadvdr-77f438ed85ef37dbb5c443725ebaea152426ba23.tar.gz
vdr-77f438ed85ef37dbb5c443725ebaea152426ba23.tar.bz2
The EIT filter no longer parses data from "other TS"
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/eit.c b/eit.c
index 68872525..c4c83691 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 4.4 2017/10/11 09:19:42 kls Exp $
+ * $Id: eit.c 4.5 2018/03/31 13:40:32 kls Exp $
*/
#include "eit.h"
@@ -388,7 +388,8 @@ time_t cEitFilter::disableUntil = 0;
cEitFilter::cEitFilter(void)
{
- Set(0x12, 0x40, 0xC0); // event info now&next actual/other TS (0x4E/0x4F), future actual/other TS (0x5X/0x6X)
+//Set(0x12, 0x40, 0xC0); // event info now&next actual/other TS (0x4E/0x4F), future actual/other TS (0x5X/0x6X) // TODO: remove later
+ Set(0x12, 0x40, 0xE0); // event info now&next actual/other TS (0x4E/0x4F), future actual TS (0x5X)
Set(0x14, 0x70); // TDT
}
@@ -415,7 +416,8 @@ void cEitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
}
switch (Pid) {
case 0x12: {
- if (Tid >= 0x4E && Tid <= 0x6F)
+ //if (Tid >= 0x4E && Tid <= 0x6F) // TODO: remove later
+ if (Tid == 0x4E || Tid >= 0x50 && Tid <= 0x5F)
cEIT EIT(sectionSyncerHash, Source(), Tid, Data);
}
break;