Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epggrab: ota - add more traces
  • Loading branch information
perexg committed Nov 21, 2014
1 parent a670ec1 commit 6bcecff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/epggrab/otamux.c
Expand Up @@ -300,6 +300,7 @@ epggrab_mux_stop ( mpegts_mux_t *mm, void *p )
epggrab_ota_mux_t *ota;
const char *uuid = idnode_uuid_as_str(&mm->mm_id);

tvhtrace("epggrab", "mux %p (%s) stop", mm, uuid);
TAILQ_FOREACH(ota, &epggrab_ota_active, om_q_link)
if (!strcmp(ota->om_mux_uuid, uuid)) {
epggrab_ota_done(ota, EPGGRAB_OTA_DONE_STOLEN);
Expand Down Expand Up @@ -434,6 +435,8 @@ epggrab_ota_data_timeout_cb ( void *p )
epggrab_ota_done(om, EPGGRAB_OTA_DONE_NO_DATA);
/* Not completed, but no data - wait for a manual mux tuning */
epggrab_ota_complete_mark(om, 1);
} else {
tvhtrace("epggrab", "data timeout check succeed");
}
}

Expand Down Expand Up @@ -546,6 +549,7 @@ epggrab_ota_kick_cb ( void *p )
if (first == NULL)
first = om;
} else {
tvhtrace("epggrab", "mux %p started", mm);
kick = 0;
/* note: it is possible that the mux_start listener is not called */
/* for reshared mux subscriptions, so call it (maybe second time) here.. */
Expand Down

0 comments on commit 6bcecff

Please sign in to comment.