diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 2.18 2012/01/14 13:04:59 kls Exp $ + * $Id: config.c 2.20 2012/02/29 10:15:54 kls Exp $ */ #include "config.h" @@ -406,9 +406,8 @@ cSetup::cSetup(void) SVDRPTimeout = 300; ZapTimeout = 3; ChannelEntryTimeout = 1000; - PrimaryLimit = 0; DefaultPriority = 50; - DefaultLifetime = 99; + DefaultLifetime = MAXLIFETIME; PauseKeyHandling = 2; PausePriority = 10; PauseLifetime = 1; @@ -601,7 +600,6 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "SVDRPTimeout")) SVDRPTimeout = atoi(Value); else if (!strcasecmp(Name, "ZapTimeout")) ZapTimeout = atoi(Value); else if (!strcasecmp(Name, "ChannelEntryTimeout")) ChannelEntryTimeout= atoi(Value); - else if (!strcasecmp(Name, "PrimaryLimit")) PrimaryLimit = atoi(Value); else if (!strcasecmp(Name, "DefaultPriority")) DefaultPriority = atoi(Value); else if (!strcasecmp(Name, "DefaultLifetime")) DefaultLifetime = atoi(Value); else if (!strcasecmp(Name, "PauseKeyHandling")) PauseKeyHandling = atoi(Value); @@ -699,7 +697,6 @@ bool cSetup::Save(void) Store("SVDRPTimeout", SVDRPTimeout); Store("ZapTimeout", ZapTimeout); Store("ChannelEntryTimeout",ChannelEntryTimeout); - Store("PrimaryLimit", PrimaryLimit); Store("DefaultPriority", DefaultPriority); Store("DefaultLifetime", DefaultLifetime); Store("PauseKeyHandling", PauseKeyHandling); |