From c24a89156857e91787e8a1ccaaffc085de41ae04 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 7 Apr 2012 14:41:39 +0200 Subject: Fixed EPG scan on systems with only a single DVB device that use software output --- eitscan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eitscan.c') diff --git a/eitscan.c b/eitscan.c index 990518ed..027bf44c 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.6 2012/03/07 14:16:57 kls Exp $ + * $Id: eitscan.c 2.7 2012/04/07 14:39:28 kls Exp $ */ #include "eitscan.h" @@ -148,7 +148,7 @@ void cEITScanner::Process(void) if (Channel) { if (!Channel->Ca() || Channel->Ca() == Device->DeviceNumber() + 1 || Channel->Ca() >= CA_ENCRYPTED_MIN) { if (Device->ProvidesTransponder(Channel)) { - if (!Device->Receiving()) { + if (Device->Priority() < 0) { bool MaySwitchTransponder = Device->MaySwitchTransponder(Channel); if (MaySwitchTransponder || Device->ProvidesTransponderExclusively(Channel) && now - lastActivity > Setup.EPGScanTimeout * 3600) { if (!MaySwitchTransponder) { -- cgit v1.2.3