diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-24 11:55:24 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-24 11:55:24 +0100 |
commit | 7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9 (patch) | |
tree | 54a4132559124c8666918117cae247032b3e3e4a /config.c | |
parent | 67cbbd7ba383513f1c6e95b90b3495b4ea3b2733 (diff) | |
download | vdr-7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9.tar.gz vdr-7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9.tar.bz2 |
New Setup parameter RecordDolbyDigital
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.85 2002/02/17 15:38:34 kls Exp $ + * $Id: config.c 1.86 2002/02/24 11:53:12 kls Exp $ */ #include "config.h" @@ -910,6 +910,7 @@ cSetup::cSetup(void) UseSubtitle = 1; RecordingDirs = 1; VideoFormat = VIDEO_FORMAT_4_3; + RecordDolbyDigital = 1; ChannelInfoPos = 0; OSDwidth = 52; OSDheight = 18; @@ -955,6 +956,7 @@ bool cSetup::Parse(char *s) else if (!strcasecmp(Name, "UseSubtitle")) UseSubtitle = atoi(Value); else if (!strcasecmp(Name, "RecordingDirs")) RecordingDirs = atoi(Value); else if (!strcasecmp(Name, "VideoFormat")) VideoFormat = atoi(Value); + else if (!strcasecmp(Name, "RecordDolbyDigital")) RecordDolbyDigital = atoi(Value); else if (!strcasecmp(Name, "ChannelInfoPos")) ChannelInfoPos = atoi(Value); else if (!strcasecmp(Name, "OSDwidth")) OSDwidth = atoi(Value); else if (!strcasecmp(Name, "OSDheight")) OSDheight = atoi(Value); @@ -1035,6 +1037,7 @@ bool cSetup::Save(const char *FileName) fprintf(f, "UseSubtitle = %d\n", UseSubtitle); fprintf(f, "RecordingDirs = %d\n", RecordingDirs); fprintf(f, "VideoFormat = %d\n", VideoFormat); + fprintf(f, "RecordDolbyDigital = %d\n", RecordDolbyDigital); fprintf(f, "ChannelInfoPos = %d\n", ChannelInfoPos); fprintf(f, "OSDwidth = %d\n", OSDwidth); fprintf(f, "OSDheight = %d\n", OSDheight); |