diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-04-26 13:43:46 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-04-26 13:43:46 +0200 |
commit | 2ac56b497dc1e063667ac5bcbc267a2ba50ee2bf (patch) | |
tree | 3ab93600f9d69a0844c0ef9ef3abb3ff1e751349 /menu.c | |
parent | 3b656e9e46632e53b32714728e3ce3123995a916 (diff) | |
download | vdr-2ac56b497dc1e063667ac5bcbc267a2ba50ee2bf.tar.gz vdr-2ac56b497dc1e063667ac5bcbc267a2ba50ee2bf.tar.bz2 |
Default duration of instant recording is 3 hours (and configurable)
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.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: menu.c 1.187 2002/04/20 09:17:08 kls Exp $ + * $Id: menu.c 1.188 2002/04/26 12:43:32 kls Exp $ */ #include "menu.h" @@ -22,6 +22,8 @@ #define MAXWAIT4EPGINFO 10 // seconds #define MODETIMEOUT 3 // seconds +#define MAXINSTANTRECTIME (24 * 60 - 1) // 23:59 hours + #define CHNUMWIDTH (Channels.Count() > 999 ? 5 : 4) // there are people with more than 999 channels... const char *FileNameChars = " abcdefghijklmnopqrstuvwxyz0123456789-.#~"; @@ -2202,6 +2204,7 @@ void cMenuSetupRecord::Set(void) Add(new cMenuEditBoolItem(tr("Setup.Recording$Use episode name"), &data.UseSubtitle)); Add(new cMenuEditBoolItem(tr("Setup.Recording$Mark instant recording"), &data.MarkInstantRecord)); Add(new cMenuEditStrItem( tr("Setup.Recording$Name instant recording"), data.NameInstantRecord, sizeof(data.NameInstantRecord), tr(FileNameChars))); + Add(new cMenuEditIntItem( tr("Setup.Recording$Instant rec. time (min)"), &data.InstantRecordTime, 1, MAXINSTANTRECTIME)); Add(new cMenuEditBoolItem(tr("Setup.Recording$Record Dolby Digital"), &data.RecordDolbyDigital)); Add(new cMenuEditIntItem( tr("Setup.Recording$Max. video file size (MB)"), &data.MaxVideoFileSize, MINVIDEOFILESIZE, MAXVIDEOFILESIZE)); Add(new cMenuEditBoolItem(tr("Setup.Recording$Split edited files"), &data.SplitEditedFiles)); |