diff options
Diffstat (limited to 'eitscan.c')
-rw-r--r-- | eitscan.c | 7 |
1 files changed, 5 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.12 2003/03/16 13:29:55 kls Exp $ + * $Id: eitscan.c 1.13 2003/05/24 13:34:59 kls Exp $ */ #include "eitscan.h" @@ -12,6 +12,8 @@ #include "channels.h" #include "dvbdevice.h" +cEITScanner EITScanner; + cEITScanner::cEITScanner(void) { lastScan = lastActivity = time(NULL); @@ -61,8 +63,9 @@ void cEITScanner::Process(void) if (Channel) { lastChannel[Device->DeviceNumber()] = Channel->Number(); if (Channel->Sid() && Device->ProvidesChannel(Channel) && !TransponderScanned(Channel)) { - if (Device == cDevice::PrimaryDevice() && !currentChannel) + if (Device == cDevice::PrimaryDevice() && !currentChannel) { currentChannel = Device->CurrentChannel(); + } Device->SwitchChannel(Channel, false); break; } |