summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2011-11-01 15:26:28 +0100
committerDimitar Petrovski <dimeptr@gmail.com>2011-11-01 15:26:28 +0100
commit7c94d16d0dacc16666dd20be2e365a7a363ba8b3 (patch)
tree2afb9afe096ba92b64005dc2a3d42848261b83fb /eepg.c
parentbee3ecce5a8caf55d0610bc8df10e4cec0933a83 (diff)
downloadvdr-plugin-eepg-7c94d16d0dacc16666dd20be2e365a7a363ba8b3.tar.gz
vdr-plugin-eepg-7c94d16d0dacc16666dd20be2e365a7a363ba8b3.tar.bz2
initialize TableID to default
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/eepg.c b/eepg.c
index 32fbaf3..33b5fd9 100644
--- a/eepg.c
+++ b/eepg.c
@@ -2152,6 +2152,7 @@ int cFilterEEPG::GetTitlesMHW2 (const u_char * Data, int Length)
CleanString (T->Text);
Pos += Len + 8; // Sub Theme starts here
T->ThemeId = ((Data[7] & 0x3f) << 6) | (Data[Pos] & 0x3f);
+ T->TableId = DEFAULT_TABLE_ID; //TODO locate the actual table id
T->EventId = (Data[Pos + 1] << 8) | Data[Pos + 2];
T->SummaryAvailable = (T->EventId != 0xFFFF);
LogI(3, prep("EventId %04x Titlenr %d:SummAv:%x,Name:%s."), T->EventId,
@@ -2477,6 +2478,7 @@ int cFilterEEPG::GetTitlesSKYBOX (const u_char * Data, int Length)
T->StartTime = ((MjdTime - 40587) * 86400) + ((Data[p + 2] << 9) | (Data[p + 3] << 1));
T->Duration = ((Data[p + 4] << 9) | (Data[p + 5] << 1));
T->ThemeId = Data[p + 6];
+ T->TableId = DEFAULT_TABLE_ID; //TODO locate the actual table id
//TODO Data[p + 7] is Quality value add it to description
//int quality = Data[p + 7];
switch (Data[p + 8] & 0x0F) {