diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2019-03-15 14:51:22 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2019-03-15 14:51:22 +0100 |
commit | dc160ab5705455db52c18fda26409ffedad856f0 (patch) | |
tree | 1cdbbc8e3501a793cccf0e9d0187c8869766f3ae /dvbdevice.c | |
parent | 4c7efcbd02d4557981d8faa27ffe7681372c2dc5 (diff) | |
download | vdr-dc160ab5705455db52c18fda26409ffedad856f0.tar.gz vdr-dc160ab5705455db52c18fda26409ffedad856f0.tar.bz2 |
No longer logging tuning timeouts for transponders that are announced in the NIT but are not currently broadcasting
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 9835645b..2763bf66 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.19 2019/03/10 12:03:20 kls Exp $ + * $Id: dvbdevice.c 4.20 2019/03/15 14:49:44 kls Exp $ */ #include "dvbdevice.h" @@ -1711,7 +1711,8 @@ void cDvbTuner::Action(void) lastDiseqc = NULL; lastSource = 0; if (time(NULL) - lastTimeoutReport > 60) { // let's not get too many of these - isyslog("frontend %d/%d timed out while tuning to channel %d (%s), tp %d", adapter, frontend, channel.Number(), channel.Name(), channel.Transponder()); + if (channel.Number()) // no need to log this for transponders that are announced in the NIT but are not currently broadcasting + isyslog("frontend %d/%d timed out while tuning to channel %d (%s), tp %d", adapter, frontend, channel.Number(), channel.Name(), channel.Transponder()); lastTimeoutReport = time(NULL); } continue; |