From: Jaroslav Kysela Date: Sat, 16 Aug 2014 19:09:31 +0000 (+0200) Subject: linuxdvb: add more trace info to the tune functions X-Git-Tag: v4.1~1533 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a75d6b75d0fefb51a673771006ac258fb893cbbf;p=thirdparty%2Ftvheadend.git linuxdvb: add more trace info to the tune functions --- diff --git a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c index e3213c241..abda550d8 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c @@ -1080,7 +1080,15 @@ linuxdvb_frontend_tune0 /* * copy the universal parameters to the Linux kernel structure */ + dmc = &lm->lm_tuning; +#if ENABLE_TRACE + { + char buf2[256]; + dvb_mux_conf_str(&lm->lm_tuning, buf2, sizeof(buf2)); + tvhtrace("linuxdvb", "tuner %s tunning to %s (freq %i)", buf1, buf2, freq); + } +#endif memset(&p, 0, sizeof(p)); p.frequency = dmc->dmc_fe_freq; p.inversion = TR(inversion, inv_tbl, INVERSION_AUTO);