diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-09 12:52:41 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-09 12:52:41 +0200 |
commit | de45b51473daaa313dda61d4d86c3fb970d51cd8 (patch) | |
tree | 2c7473b4915f1f77085dc9e9a67528c963ee0133 /config.c | |
parent | 9d509c37e712974d653b8ccd2ceddfda7c9cccfe (diff) | |
download | vdr-de45b51473daaa313dda61d4d86c3fb970d51cd8.tar.gz vdr-de45b51473daaa313dda61d4d86c3fb970d51cd8.tar.bz2 |
Implemented 'Multi Speed Mode'
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.67 2001/09/08 14:12:43 kls Exp $ + * $Id: config.c 1.68 2001/09/08 14:59:38 kls Exp $ */ #include "config.h" @@ -812,6 +812,7 @@ cSetup::cSetup(void) MaxVideoFileSize = MAXVIDEOFILESIZE; MinEventTimeout = 30; MinUserInactivity = 120; + MultiSpeedMode = 0; CurrentChannel = -1; } @@ -849,6 +850,7 @@ bool cSetup::Parse(char *s) else if (!strcasecmp(Name, "MaxVideoFileSize")) MaxVideoFileSize = atoi(Value); else if (!strcasecmp(Name, "MinEventTimeout")) MinEventTimeout = atoi(Value); else if (!strcasecmp(Name, "MinUserInactivity")) MinUserInactivity = atoi(Value); + else if (!strcasecmp(Name, "MultiSpeedMode")) MultiSpeedMode = atoi(Value); else if (!strcasecmp(Name, "CurrentChannel")) CurrentChannel = atoi(Value); else return false; @@ -921,6 +923,7 @@ bool cSetup::Save(const char *FileName) fprintf(f, "MaxVideoFileSize = %d\n", MaxVideoFileSize); fprintf(f, "MinEventTimeout = %d\n", MinEventTimeout); fprintf(f, "MinUserInactivity = %d\n", MinUserInactivity); + fprintf(f, "MultiSpeedMode = %d\n", MultiSpeedMode); fprintf(f, "CurrentChannel = %d\n", CurrentChannel); f.Close(); isyslog(LOG_INFO, "saved setup to %s", FileName); |