diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-01-10 21:33:01 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-01-10 21:33:01 +0000 |
| commit | 527b292c4f846302522430695fcbfa1f8dadb8d8 (patch) | |
| tree | fd4cdae2d08c5208dc6b345abf903fa0d759a59d /lib/dvb/epgcache.cpp | |
| parent | 87476cca8b4a772f8f1ff2cf3168aa147d51c85c (diff) | |
| download | enigma2-527b292c4f846302522430695fcbfa1f8dadb8d8.tar.gz enigma2-527b292c4f846302522430695fcbfa1f8dadb8d8.zip | |
fix epgsearch
Diffstat (limited to 'lib/dvb/epgcache.cpp')
| -rw-r--r-- | lib/dvb/epgcache.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp index 46311f60..63331061 100644 --- a/lib/dvb/epgcache.cpp +++ b/lib/dvb/epgcache.cpp @@ -1162,7 +1162,7 @@ void eEPGCache::channel_data::startEPG() m_ScheduleOtherReader->start(mask); isRunning |= SCHEDULE_OTHER; - abortTimer.start(7000,true); +// abortTimer.start(7000,true); } void eEPGCache::channel_data::abortNonAvail() @@ -1285,6 +1285,7 @@ void eEPGCache::channel_data::abortEPG() void eEPGCache::channel_data::readData( const __u8 *data) { +#if 0 int source; int map; iDVBSectionReader *reader=NULL; @@ -1367,6 +1368,7 @@ void eEPGCache::channel_data::readData( const __u8 *data) cache->sectionRead(data, source, this); } } +#endif } RESULT eEPGCache::lookupEventTime(const eServiceReference &service, time_t t, const eventData *&result, int direction) @@ -2166,8 +2168,6 @@ PyObject *eEPGCache::search(ePyObject arg) return NULL; } - ASSERT(descridx <= 512); - if (descridx > -1) { int maxcount=maxmatches; @@ -2195,11 +2195,11 @@ PyObject *eEPGCache::search(ePyObject arg) if ( evid == eventid) continue; __u8 *data = evit->second->EITdata; - int tmp = evit->second->ByteSize-12; - __u32 *p = (__u32*)(data+12); + int tmp = evit->second->ByteSize-10; + __u32 *p = (__u32*)(data+10); // check if any of our descriptor used by this event int cnt=-1; - while(tmp>0) + while(tmp>3) { __u32 crc32 = *p++; for ( int i=0; i <= descridx; ++i) |
