Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb: add more traces to linuxdvb_frontend_network_list()
  • Loading branch information
perexg committed Nov 18, 2014
1 parent d49e965 commit a0e69f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/api_mpegts.c
Expand Up @@ -49,6 +49,8 @@ api_mpegts_input_network_list
if (!mi)
goto exit;

tvhtrace("mpegts", "network-list: found input '%s'", mi->mi_name ?: "");

htsmsg_t *l = htsmsg_create_list();
if ((is = mi->mi_network_list(mi))) {
for (i = 0; i < is->is_count; i++) {
Expand Down
3 changes: 3 additions & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -395,6 +395,9 @@ linuxdvb_frontend_network_list ( mpegts_input_t *mi )
linuxdvb_frontend_t *lfe = (linuxdvb_frontend_t*)mi;
const idclass_t *idc;

tvhtrace("linuxdvb", "%s: network list for %s",
mi->mi_name ?: "", dvb_type2str(lfe->lfe_type));

if (lfe->lfe_type == DVB_TYPE_T)
idc = &dvb_network_dvbt_class;
else if (lfe->lfe_type == DVB_TYPE_C)
Expand Down

0 comments on commit a0e69f8

Please sign in to comment.