diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-09-06 13:22:24 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-09-06 13:22:24 +0200 |
commit | ee10028dc6ce314e1848a206bbdde18bde40b4ec (patch) | |
tree | c0e8920a6779ab82cc52050e602b21895deeaf52 /eitscan.c | |
parent | 6d677e2a89afe9ceb91483f4da581cdad6f8cc5d (diff) | |
download | vdr-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.c | 5 |
1 files changed, 4 insertions, 1 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.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; } } |