linuxdvb: add more traces to linuxdvb_frontend_network_list()

This commit is contained in:
Jaroslav Kysela 2014-11-18 13:39:00 +01:00
parent d49e965738
commit a0e69f8c7e
2 changed files with 5 additions and 0 deletions

View file

@ -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++) {

View file

@ -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)