summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--dvbdevice.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 5f290488..9d027eb3 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9381,3 +9381,5 @@ Video Disk Recorder Revision History
- Fixed processing transponder data in the NIT (thanks to Helmut Binder).
- Fixed triggering the SDT filter when parsing the NIT (thanks to Helmut Binder).
- Added support for EAC3 audio from other sources (thanks to Jürgen Schneider).
+- No longer logging tuning timeouts for transponders that are announced in the NIT but
+ are not currently broadcasting.
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;