diff options
-rw-r--r-- | eepg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2977,7 +2977,8 @@ cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Dat } // If the new event has a higher table ID, let's skip it. // The lower the table ID, the more "current" the information. - else if (Tid > pEvent->TableID ()) + // if the Table ID is DEFAULT_TABLE_ID it is most probably EEPG event so we can overwrite + else if (Tid > pEvent->TableID() && pEvent->TableID () != DEFAULT_TABLE_ID) continue; // If the new event comes from the same table and has the same version number // as the existing one, let's skip it to avoid unnecessary work. |