summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-04-26 13:43:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-04-26 13:43:46 +0200
commit2ac56b497dc1e063667ac5bcbc267a2ba50ee2bf (patch)
tree3ab93600f9d69a0844c0ef9ef3abb3ff1e751349 /menu.c
parent3b656e9e46632e53b32714728e3ce3123995a916 (diff)
downloadvdr-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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index ed219cdd..2364ff47 100644
--- a/menu.c
+++ b/menu.c
@@ -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));