diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-20 13:39:49 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-20 13:39:49 +0100 |
commit | e8bd7c2369dfba7c9709fb6589a985c8e0448bf6 (patch) | |
tree | da3d8eaa91ee8b3ccaa7fb4580d4164f44920056 /config.c | |
parent | 51f41252cf70ab0364a411648ed0aa2015e40162 (diff) | |
download | vdr-e8bd7c2369dfba7c9709fb6589a985c8e0448bf6.tar.gz vdr-e8bd7c2369dfba7c9709fb6589a985c8e0448bf6.tar.bz2 |
Implemented setup option "DVB/Video display format"
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 1.132 2005/02/05 10:43:04 kls Exp $ + * $Id: config.c 1.133 2005/02/20 12:52:59 kls Exp $ */ #include "config.h" @@ -279,6 +279,7 @@ cSetup::cSetup(void) UseVps = 0; VpsMargin = 120; RecordingDirs = 1; + VideoDisplayFormat = 1; VideoFormat = 0; UpdateChannels = 4; UseDolbyDigital = 1; @@ -435,6 +436,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "UseVps")) UseVps = atoi(Value); else if (!strcasecmp(Name, "VpsMargin")) VpsMargin = atoi(Value); else if (!strcasecmp(Name, "RecordingDirs")) RecordingDirs = atoi(Value); + else if (!strcasecmp(Name, "VideoDisplayFormat")) VideoDisplayFormat = atoi(Value); else if (!strcasecmp(Name, "VideoFormat")) VideoFormat = atoi(Value); else if (!strcasecmp(Name, "UpdateChannels")) UpdateChannels = atoi(Value); else if (!strcasecmp(Name, "UseDolbyDigital")) UseDolbyDigital = atoi(Value); @@ -498,6 +500,7 @@ bool cSetup::Save(void) Store("UseVps", UseVps); Store("VpsMargin", VpsMargin); Store("RecordingDirs", RecordingDirs); + Store("VideoDisplayFormat", VideoDisplayFormat); Store("VideoFormat", VideoFormat); Store("UpdateChannels", UpdateChannels); Store("UseDolbyDigital", UseDolbyDigital); |