summaryrefslogtreecommitdiff
path: root/eitscan.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-09-06 13:22:24 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-09-06 13:22:24 +0200
commitee10028dc6ce314e1848a206bbdde18bde40b4ec (patch)
treec0e8920a6779ab82cc52050e602b21895deeaf52 /eitscan.c
parent6d677e2a89afe9ceb91483f4da581cdad6f8cc5d (diff)
downloadvdr-ee10028dc6ce314e1848a206bbdde18bde40b4ec.tar.gz
vdr-ee10028dc6ce314e1848a206bbdde18bde40b4ec.tar.bz2
The DVB devices no longer send CA descriptors to the CAM while the EPG scanner is active
Diffstat (limited to 'eitscan.c')
-rw-r--r--eitscan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/eitscan.c b/eitscan.c
index f9058cf0..a12bb44d 100644
--- a/eitscan.c
+++ b/eitscan.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: eitscan.c 1.13 2003/05/24 13:34:59 kls Exp $
+ * $Id: eitscan.c 1.14 2003/09/06 13:06:13 kls Exp $
*/
#include "eitscan.h"
@@ -17,6 +17,7 @@ cEITScanner EITScanner;
cEITScanner::cEITScanner(void)
{
lastScan = lastActivity = time(NULL);
+ currentDevice = NULL;
currentChannel = 0;
memset(lastChannel, 0, sizeof(lastChannel));
numTransponders = 0;
@@ -66,7 +67,9 @@ void cEITScanner::Process(void)
if (Device == cDevice::PrimaryDevice() && !currentChannel) {
currentChannel = Device->CurrentChannel();
}
+ currentDevice = Device;
Device->SwitchChannel(Channel, false);
+ currentDevice = NULL;
break;
}
}