summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2011-10-02 20:06:49 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2011-10-02 20:06:49 +0200
commit45aa02d117af1e6f0b5584de8b06827c4b5fd301 (patch)
treebfdeaad46d13e69ce85379388e30cfd6fa792b28 /eepg.c
parente228e74a720c8f0b7e48c0909a2a29ddc7620252 (diff)
downloadvdr-plugin-eepg-45aa02d117af1e6f0b5584de8b06827c4b5fd301.tar.gz
vdr-plugin-eepg-45aa02d117af1e6f0b5584de8b06827c4b5fd301.tar.bz2
enable EIT scan in eepg
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c11
1 files changed, 11 insertions, 0 deletions
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