1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

No longer logging tuning timeouts for transponders that are announced in the NIT but are not currently broadcasting

This commit is contained in:
Klaus Schmidinger 2019-03-15 14:51:22 +01:00
parent 4c7efcbd02
commit dc160ab570
2 changed files with 5 additions and 2 deletions

View File

@ -9381,3 +9381,5 @@ Video Disk Recorder Revision History
- Fixed processing transponder data in the NIT (thanks to Helmut Binder). - Fixed processing transponder data in the NIT (thanks to Helmut Binder).
- Fixed triggering the SDT filter when parsing 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). - 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.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "dvbdevice.h"
@ -1711,6 +1711,7 @@ void cDvbTuner::Action(void)
lastDiseqc = NULL; lastDiseqc = NULL;
lastSource = 0; lastSource = 0;
if (time(NULL) - lastTimeoutReport > 60) { // let's not get too many of these if (time(NULL) - lastTimeoutReport > 60) { // let's not get too many of these
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()); 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); lastTimeoutReport = time(NULL);
} }