Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epggrab: EIT - fix the service remove condition
  • Loading branch information
perexg committed Sep 10, 2014
1 parent 2017103 commit a76ee19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/epggrab/module/eit.c
Expand Up @@ -713,7 +713,7 @@ static int _eit_tune
// consider changeing it?
for (osl = RB_FIRST(&map->om_svcs); osl != NULL; osl = nxt) {
nxt = RB_NEXT(osl, link);
/* rule: if 5 mux scans fails for this service, remove it */
/* rule: if 5 mux scans fail for this service, remove it */
if (osl->last_tune_count + 5 <= map->om_tune_count ||
!(s = mpegts_service_find_by_uuid(osl->uuid))) {
epggrab_ota_service_del(map, om, osl, 1);
Expand Down
1 change: 1 addition & 0 deletions src/epggrab/otamux.c
Expand Up @@ -615,6 +615,7 @@ epggrab_ota_service_add ( epggrab_ota_map_t *map, epggrab_ota_mux_t *ota,
ota->om_save = 1;
epggrab_ota_service_trace(ota, svcl, "add new");
}
svcl->last_tune_count = map->om_tune_count;
}

void
Expand Down

0 comments on commit a76ee19

Please sign in to comment.