summaryrefslogtreecommitdiff
path: root/eitscan.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-10 11:08:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-10 11:08:19 +0200
commit9e58503aee4cde6d3a4a9c290dda7da307aa1e5c (patch)
tree154012b49c79741425004f70c631019c0b15f3d2 /eitscan.c
parent18f0ce26fd383f56aa0afdfb9e5ce8ea4c4d0b76 (diff)
downloadvdr-9e58503aee4cde6d3a4a9c290dda7da307aa1e5c.tar.gz
vdr-9e58503aee4cde6d3a4a9c290dda7da307aa1e5c.tar.bz2
The EPG scanner no longer moves the dish if there is a positioner
Diffstat (limited to 'eitscan.c')
-rw-r--r--eitscan.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/eitscan.c b/eitscan.c
index c9b528aa..41ac25e2 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 4.1 2015/07/18 10:16:51 kls Exp $
+ * $Id: eitscan.c 4.2 2015/09/10 11:05:03 kls Exp $
*/
#include "eitscan.h"
@@ -151,6 +151,10 @@ void cEITScanner::Process(void)
if (!Channel->Ca() || Channel->Ca() == Device->DeviceNumber() + 1 || Channel->Ca() >= CA_ENCRYPTED_MIN) {
if (Device->ProvidesTransponder(Channel)) {
if (Device->Priority() < 0) {
+ if (const cPositioner *Positioner = Device->Positioner()) {
+ if (Positioner->LastLongitude() != cSource::Position(Channel->Source()))
+ continue;
+ }
bool MaySwitchTransponder = Device->MaySwitchTransponder(Channel);
if (MaySwitchTransponder || Device->ProvidesTransponderExclusively(Channel) && now - lastActivity > Setup.EPGScanTimeout * 3600) {
if (!MaySwitchTransponder) {