summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-24 11:55:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-24 11:55:24 +0100
commit7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9 (patch)
tree54a4132559124c8666918117cae247032b3e3e4a /config.c
parent67cbbd7ba383513f1c6e95b90b3495b4ea3b2733 (diff)
downloadvdr-7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9.tar.gz
vdr-7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9.tar.bz2
New Setup parameter RecordDolbyDigital
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index 2b363912..8e6cf37a 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 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);