diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-04-15 10:52:34 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-04-15 10:52:34 +0200 |
commit | f822cdf2613096a2b545daed6cab1ed3a5c8ef5b (patch) | |
tree | 1f9305095e919a624f94bfd55d9197d0da6f4b1e /config.c | |
parent | c650904794774733d505bb919170c8cbd5750395 (diff) | |
download | vdr-f822cdf2613096a2b545daed6cab1ed3a5c8ef5b.tar.gz vdr-f822cdf2613096a2b545daed6cab1ed3a5c8ef5b.tar.bz2 |
The new setup option "DVB/Standard compliance" can be used to switch between different variations of the DVB standard
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 4 insertions, 1 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.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); |