summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--dvbdevice.c14
2 files changed, 1 insertions, 15 deletions
diff --git a/HISTORY b/HISTORY
index d0b3989f..7c858327 100644
--- a/HISTORY
+++ b/HISTORY
@@ -8980,6 +8980,4 @@ Video Disk Recorder Revision History
would be deleted by Skip().
- The new function cDevice::SignalStats() (if implemented by an actual device) returns
statistics about the currently received signal.
-- If DVB API 5 signal statistics are available for a cDvbDevice, it now logs them
- whenever the tuner acquires a lock (suggested by Dietmar Spingler).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
diff --git a/dvbdevice.c b/dvbdevice.c
index 46a219b4..1c259059 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 4.7 2017/04/17 15:02:44 kls Exp $
+ * $Id: dvbdevice.c 4.8 2017/04/18 13:11:07 kls Exp $
*/
#include "dvbdevice.h"
@@ -1155,18 +1155,6 @@ void cDvbTuner::Action(void)
isyslog("frontend %d/%d regained lock on channel %d (%s), tp %d", adapter, frontend, channel.Number(), channel.Name(), channel.Transponder());
LostLock = false;
}
- if (tunerStatus == tsTuned) {
- if (SysLogLevel >= 3) {
- int Valid;
- double Strength, Cnr;
- if (GetSignalStats(Valid, &Strength, &Cnr)) {
- cString s = cString::sprintf("frontend %d/%d locked with signal", adapter, frontend);
- if ((Valid & DTV_STAT_VALID_STRENGTH) != 0) s = cString::sprintf("%s STR=%1.1fdBm", *s, Strength);
- if ((Valid & DTV_STAT_VALID_CNR) != 0) s = cString::sprintf("%s CNR=%1.1fdB", *s, Cnr);
- dsyslog("%s", *s);
- }
- }
- }
tunerStatus = tsLocked;
locked.Broadcast();
lastTimeoutReport = 0;