summaryrefslogtreecommitdiff
path: root/eitscan.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-08-26 13:10:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-08-26 13:10:00 +0200
commite4892e536c4d40c539e40470f838e8a7033d2c28 (patch)
tree88ebc8c018ba4466efbdd66976e3e28c8a50e504 /eitscan.c
parent6b5e9f56ed5315e7c1afa17940968695fabf3ba0 (diff)
downloadvdr-e4892e536c4d40c539e40470f838e8a7033d2c28.tar.gz
vdr-e4892e536c4d40c539e40470f838e8a7033d2c28.tar.bz2
Moved ProvidesEIT() check further up
Diffstat (limited to 'eitscan.c')
-rw-r--r--eitscan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eitscan.c b/eitscan.c
index fd4dec87..8b435920 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 2.3 2011/08/26 12:58:49 kls Exp $
+ * $Id: eitscan.c 2.4 2011/08/26 13:10:00 kls Exp $
*/
#include "eitscan.h"
@@ -143,10 +143,10 @@ void cEITScanner::Process(void)
bool AnyDeviceSwitched = false;
for (int i = 0; i < cDevice::NumDevices(); i++) {
cDevice *Device = cDevice::GetDevice(i);
- if (Device) {
+ if (Device && Device->ProvidesEIT()) {
for (cScanData *ScanData = scanList->First(); ScanData; ScanData = scanList->Next(ScanData)) {
const cChannel *Channel = ScanData->GetChannel();
- if (Channel && Device->ProvidesEIT()) {
+ if (Channel) {
if (!Channel->Ca() || Channel->Ca() == Device->DeviceNumber() + 1 || Channel->Ca() >= CA_ENCRYPTED_MIN) {
if (Device->ProvidesTransponder(Channel)) {
if (!Device->Receiving()) {