summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-24 12:18:30 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-24 12:18:30 +0100
commit377b15b53579ac2a6eaf304b07b9862b305c9150 (patch)
tree7ff7af0362f656b96e3e7b42f4e5f565d6681fd8 /dvbapi.c
parente18918ad06c0b3ba78e4eb0ec136a3911dff9633 (diff)
downloadvdr-377b15b53579ac2a6eaf304b07b9862b305c9150.tar.gz
vdr-377b15b53579ac2a6eaf304b07b9862b305c9150.tar.bz2
Setup.EPGScanTimeout == 0 completely turns off EPG scanning
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 470835ac..15b5f357 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.c 1.59 2001/02/20 17:40:57 kls Exp $
+ * $Id: dvbapi.c 1.60 2001/02/24 12:18:30 kls Exp $
*/
#include "dvbapi.h"
@@ -2395,7 +2395,7 @@ void cEITScanner::Activity(void)
void cEITScanner::Process(void)
{
- if (Channels.MaxNumber() > 1) {
+ if (Setup.EPGScanTimeout && Channels.MaxNumber() > 1) {
time_t now = time(NULL);
if (now - lastScan > ScanTimeout && now - lastActivity > ActivityTimeout) {
for (int i = 0; i < cDvbApi::NumDvbApis; i++) {