summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-12-10 15:01:23 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-12-10 15:01:23 +0100
commit8a49851b05507c61ca8fd1588e5bd334b021b7c1 (patch)
treefd11954b349a27a56cc0d59d15781b01f64bebd0
parentb25efc415e04afc36e10c88cb9b8668a84cf1bb7 (diff)
downloadvdr-8a49851b05507c61ca8fd1588e5bd334b021b7c1.tar.gz
vdr-8a49851b05507c61ca8fd1588e5bd334b021b7c1.tar.bz2
Added HasSnr to the DEBUG_SIGNALQUALITY output in cDvbTuner::GetSignalQuality()
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--dvbdevice.c4
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index b1479b23..bea4f5af 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1932,6 +1932,7 @@ Ville Skyttä <ville.skytta@iki.fi>
for pointing out that the argument sequence in the memset() call in the ctor of
cSatCableNumbers was wrong
for removing a redundant NULL check in cDvbSpuDecoder::setTime()
+ for pointing out that the variable HasSnr was unused in cDvbTuner::GetSignalQuality()
Steffen Beyer <cpunk@reactor.de>
for fixing setting the colored button help after deleting a recording in case the next
diff --git a/HISTORY b/HISTORY
index 2d004959..8a7a33f7 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6792,3 +6792,5 @@ Video Disk Recorder Revision History
- Removed redundant memset() in the ctor of cSatCableNumbers (triggered by
Ville Skyttä pointing out that the argument sequence in the call was wrong).
- Removed a redundant NULL check in cDvbSpuDecoder::setTime() (thanks to Ville Skyttä).
+- Added HasSnr to the DEBUG_SIGNALQUALITY output in cDvbTuner::GetSignalQuality()
+ (triggered by Ville Skyttä pointing out that the variable HasSnr was unused).
diff --git a/dvbdevice.c b/dvbdevice.c
index 351609f8..d69a1340 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 2.49 2011/12/06 17:38:18 kls Exp $
+ * $Id: dvbdevice.c 2.50 2011/12/10 14:59:34 kls Exp $
*/
#include "dvbdevice.h"
@@ -618,7 +618,7 @@ int cDvbTuner::GetSignalQuality(void) const
if (q > 100)
q = 100;
#ifdef DEBUG_SIGNALQUALITY
- fprintf(stderr, "FE %d/%d: %08X Q = %04X %04X %5d %5d %3d%%\n", adapter, frontend, subsystemId, MaxSnr, Snr, HasBer ? int(Ber) : -1, HasUnc ? int(Unc) : -1, q);
+ fprintf(stderr, "FE %d/%d: %08X Q = %04X %04X %d %5d %5d %3d%%\n", adapter, frontend, subsystemId, MaxSnr, Snr, HasSnr, HasBer ? int(Ber) : -1, HasUnc ? int(Unc) : -1, q);
#endif
return q;
}