From f822cdf2613096a2b545daed6cab1ed3a5c8ef5b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 15 Apr 2012 10:52:34 +0200 Subject: The new setup option "DVB/Standard compliance" can be used to switch between different variations of the DVB standard --- config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.c') diff --git a/config.c b/config.c index 302a45b3..5b317250 100644 --- a/config.c +++ b/config.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 2.20 2012/02/29 10:15:54 kls Exp $ + * $Id: config.c 2.21 2012/04/15 09:52:14 kls Exp $ */ #include "config.h" @@ -391,6 +391,7 @@ cSetup::cSetup(void) SetSystemTime = 0; TimeSource = 0; TimeTransponder = 0; + StandardCompliance = STANDARD_DVB; MarginStart = 2; MarginStop = 10; AudioLanguages[0] = -1; @@ -585,6 +586,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "SetSystemTime")) SetSystemTime = atoi(Value); else if (!strcasecmp(Name, "TimeSource")) TimeSource = cSource::FromString(Value); else if (!strcasecmp(Name, "TimeTransponder")) TimeTransponder = atoi(Value); + else if (!strcasecmp(Name, "StandardCompliance")) StandardCompliance = atoi(Value); else if (!strcasecmp(Name, "MarginStart")) MarginStart = atoi(Value); else if (!strcasecmp(Name, "MarginStop")) MarginStop = atoi(Value); else if (!strcasecmp(Name, "AudioLanguages")) return ParseLanguages(Value, AudioLanguages); @@ -682,6 +684,7 @@ bool cSetup::Save(void) Store("SetSystemTime", SetSystemTime); Store("TimeSource", cSource::ToString(TimeSource)); Store("TimeTransponder", TimeTransponder); + Store("StandardCompliance", StandardCompliance); Store("MarginStart", MarginStart); Store("MarginStop", MarginStop); StoreLanguages("AudioLanguages", AudioLanguages); -- cgit v1.2.3