summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-05-18 16:01:45 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2012-05-18 16:01:45 (GMT)
commit4bdb21f818f96e05ad51d3f2996609226903eade (patch)
tree140312d9097ba2cca4a6d4fc5ffc2a2ff299e947 /eepg.c
parent8f360572204b983ee963678359498a0ad2b8848a (diff)
downloadvdr-plugin-eepg-4bdb21f818f96e05ad51d3f2996609226903eade.tar.gz
vdr-plugin-eepg-4bdb21f818f96e05ad51d3f2996609226903eade.tar.bz2
use correct get channelID
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/eepg.c b/eepg.c
index d5de0d8..29e0b9e 100644
--- a/eepg.c
+++ b/eepg.c
@@ -1696,7 +1696,7 @@ void cFilterEEPG::WriteToSchedule (cSchedule * ps, cSchedules* pSchedules, unsig
if (newEvent)
ps->AddEvent (newEvent);
- updateEquivalent(pSchedules,ps->channelID, Event);
+ updateEquivalent(pSchedules,ps->ChannelID(), Event);
//newEvent->FixEpgBugs (); causes segfault
}
@@ -1758,7 +1758,7 @@ void cFilterEEPG::GetTitlesNagra (const u_char * Data, int Length, unsigned shor
p += 4; //skip Title number
sChannel *C = &sChannels[ChannelSeq[ChannelId]]; //find channel
- cSchedule *ps;//[MAX_EQUIVALENCES];
+ cSchedule *ps = NULL;//[MAX_EQUIVALENCES];
PrepareToWriteToSchedule (C, s, ps);
for (int i = 0; i < NumberOfTitles; i++) { //process each title within block
@@ -2882,7 +2882,7 @@ void cFilterEEPG::LoadIntoSchedule (void)
WriteToSchedule (p, s, T->EventId, StartTime, T->Duration / 60, (char *) T->Text,
(char *) S->Text, T->ThemeId, TableId, 0, rating);
- sortSchedules(s, p->channelID);
+ sortSchedules(s, p->ChannelID());
//FinishWriteToSchedule (C, s, p);
//Replays--;
@@ -2926,7 +2926,7 @@ void cFilterEEPG::LoadIntoSchedule (void)
WriteToSchedule (p, s, T->EventId, T->StartTime, T->Duration / 60, (char *) T->Text,
NULL, T->ThemeId, DEFAULT_TABLE_ID, 0, rating);
//FinishWriteToSchedule (C, s, p);
- sortSchedules(s, p->channelID);
+ sortSchedules(s, p->ChannelID());
SummariesNotFound++;
i++; //move to next title, for this one no summary can be found