]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb: add more trace info to the tune functions
authorJaroslav Kysela <perex@perex.cz>
Sat, 16 Aug 2014 19:09:31 +0000 (21:09 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sat, 16 Aug 2014 19:09:31 +0000 (21:09 +0200)
src/input/mpegts/linuxdvb/linuxdvb_frontend.c

index e3213c24118127af9d901b83213a03416ceaaa6c..abda550d88383d2f92d6d267173a2b4d7c9e4ecd 100644 (file)
@@ -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);