diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2012-05-18 18:01:45 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2012-05-18 18:01:45 +0200 |
commit | 4bdb21f818f96e05ad51d3f2996609226903eade (patch) | |
tree | 140312d9097ba2cca4a6d4fc5ffc2a2ff299e947 | |
parent | 8f360572204b983ee963678359498a0ad2b8848a (diff) | |
download | vdr-plugin-eepg-4bdb21f818f96e05ad51d3f2996609226903eade.tar.gz vdr-plugin-eepg-4bdb21f818f96e05ad51d3f2996609226903eade.tar.bz2 |
use correct get channelID
-rw-r--r-- | eepg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |