summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-05-13 09:10:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-05-13 09:10:56 +0200
commit6d670724e09dbec994f830435667c476db766923 (patch)
tree5bca95d73d05a82c591ce410d4061664c53312b3
parent946f9dfb7805092b1011a2fa44ad65a2c4fe872b (diff)
downloadvdr-6d670724e09dbec994f830435667c476db766923.tar.gz
vdr-6d670724e09dbec994f830435667c476db766923.tar.bz2
Now only using devices that provide a transponder exclusively for updating a VPS timers EPG event if the timer has actually entered the "VPS margin"
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index b8a005d0..6f4a9725 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.270 2006/05/13 09:09:34 kls Exp $
+ * $Id: vdr.c 1.271 2006/05/13 09:10:56 kls Exp $
*/
#include <getopt.h>
@@ -798,7 +798,7 @@ int main(int argc, char *argv[])
if (d->MaySwitchTransponder())
// this one can be switched without disturbing anything else
Device = d;
- else if (!Device && !d->Receiving() && d->ProvidesTransponderExclusively(Timer->Channel()))
+ else if (!Device && InVpsMargin && !d->Receiving() && d->ProvidesTransponderExclusively(Timer->Channel()))
// use this one only if no other with less impact can be found
Device = d;
}