diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-02-07 12:14:02 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-02-07 12:14:02 +0100 |
commit | 08e05d3fcda73c05d6553d110376b5882e9b1837 (patch) | |
tree | e159cadb2647232e7ec0377e783f1143922941da /eitscan.c | |
parent | 978807e4d1873e878f3c23c4dda889c50a753a35 (diff) | |
download | vdr-08e05d3fcda73c05d6553d110376b5882e9b1837.tar.gz vdr-08e05d3fcda73c05d6553d110376b5882e9b1837.tar.bz2 |
Fixed adding new transponders in case there is only a single channel in the channel list
Diffstat (limited to 'eitscan.c')
-rw-r--r-- | eitscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: eitscan.c 1.30 2006/01/07 14:10:17 kls Exp $ + * $Id: eitscan.c 2.1 2010/02/07 12:12:05 kls Exp $ */ #include "eitscan.h" @@ -127,7 +127,7 @@ void cEITScanner::Activity(void) void cEITScanner::Process(void) { - if ((Setup.EPGScanTimeout || !lastActivity) && Channels.MaxNumber() > 1) { // !lastActivity means a scan was forced + if (Setup.EPGScanTimeout || !lastActivity) { // !lastActivity means a scan was forced time_t now = time(NULL); if (now - lastScan > ScanTimeout && now - lastActivity > ActivityTimeout) { if (Channels.Lock(false, 10)) { |