summaryrefslogtreecommitdiff
path: root/eitscan.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-04-07 14:41:39 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-04-07 14:41:39 +0200
commitc24a89156857e91787e8a1ccaaffc085de41ae04 (patch)
treeeb26767d0751f28c13357a755d34dd8699157f15 /eitscan.c
parent4e8dedb7ad04f1e95d718be803c60af5eb329b69 (diff)
downloadvdr-c24a89156857e91787e8a1ccaaffc085de41ae04.tar.gz
vdr-c24a89156857e91787e8a1ccaaffc085de41ae04.tar.bz2
Fixed EPG scan on systems with only a single DVB device that use software output
Diffstat (limited to 'eitscan.c')
-rw-r--r--eitscan.c4
1 files changed, 2 insertions, 2 deletions
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) {