From 45aa02d117af1e6f0b5584de8b06827c4b5fd301 Mon Sep 17 00:00:00 2001 From: Dimitar Petrovski Date: Sun, 2 Oct 2011 20:06:49 +0200 Subject: enable EIT scan in eepg --- eepg.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'eepg.c') diff --git a/eepg.c b/eepg.c index 478a9aa..e243287 100644 --- a/eepg.c +++ b/eepg.c @@ -3463,6 +3463,11 @@ void cFilterEEPG::ProcessNextFormat (bool FirstTime = false) // AddFilter (0x0441, 0x50, 0xf0); // Bell ExpressVU EEPG // AddFilter (0x0441, 0x60, 0xf0); // Bell ExpressVU EEPG break; + case EIT: + AddFilter (pid, 0x4e, 0xfe); //event info, actual(0x4e)/other(0x4f) TS, present/following + AddFilter (pid, 0x50, 0xf0); //event info, actual TS, schedule(0x50)/schedule for future days(0x5X) + AddFilter (pid, 0x60, 0xf0); //event info, other TS, schedule(0x60)/schedule for future days(0x6X) + break; default: break; } @@ -3631,6 +3636,12 @@ void cFilterEEPG::Process (u_short Pid, u_char Tid, const u_char * Data, int Len && !UnprocessedFormat[DISH_BEV]) { UnprocessedFormat[DISH_BEV] = stream.getPid (); } + + // Enable EIT scan for all except DISH_BEV since it is already enabled + // TODO add setup option + if (!UnprocessedFormat[DISH_BEV]) { + UnprocessedFormat[EIT] = EIT_PID; + } } //if data[1] && data [3] } //if streamtype /*if (Format != PREMIERE) //any format found -- cgit v1.2.3