[vlc-commits] Linux DVB: print frequencies and symbol rates in debug

Rémi Denis-Courmont git at videolan.org
Sun Mar 27 19:40:23 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 27 20:39:49 2011 +0300| [a9e4ad237c0d052e9981fb62ec1d3a73e908a65a] | committer: Rémi Denis-Courmont

Linux DVB: print frequencies and symbol rates in debug

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a9e4ad237c0d052e9981fb62ec1d3a73e908a65a
---

 modules/access/dtv/linux.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c
index 079c6c9..16fbd1e 100644
--- a/modules/access/dtv/linux.c
+++ b/modules/access/dtv/linux.c
@@ -281,6 +281,14 @@ dvb_device_t *dvb_open (vlc_object_t *obj, bool tune)
         msg_Dbg (obj, "using frontend: %s", d->info.name);
         msg_Dbg (obj, " type %u, capabilities 0x%08X", d->info.type,
                  d->info.caps);
+        msg_Dbg (obj, " frequencies %10"PRIu32" to %10"PRIu32,
+                 d->info.frequency_min, d->info.frequency_max);
+        msg_Dbg (obj, " (%"PRIu32" tolerance, %"PRIu32" per step)",
+                 d->info.frequency_tolerance, d->info.frequency_stepsize);
+        msg_Dbg (obj, " bauds rates %10"PRIu32" to %10"PRIu32,
+                 d->info.symbol_rate_min, d->info.symbol_rate_max);
+        msg_Dbg (obj, " (%"PRIu32" tolerance)",
+                 d->info.symbol_rate_tolerance);
 
         d->ca = dvb_open_node (dirfd, device, "ca", O_RDWR);
         if (d->ca == -1)



More information about the vlc-commits mailing list