diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-24 14:03:39 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-24 14:03:39 +0100 |
commit | edacac5f91713ff996853c0de665ff3c237eaf8a (patch) | |
tree | ccdec45c02a89e8c9b57a3315a4ad20ebbff626b /menu.c | |
parent | 377b15b53579ac2a6eaf304b07b9862b305c9150 (diff) | |
download | vdr-edacac5f91713ff996853c0de665ff3c237eaf8a.tar.gz vdr-edacac5f91713ff996853c0de665ff3c237eaf8a.tar.bz2 |
Implemented PrimaryLimit setup parameter
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 5 |
1 files changed, 3 insertions, 2 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.66 2001/02/18 13:12:32 kls Exp $ + * $Id: menu.c 1.67 2001/02/24 14:03:39 kls Exp $ */ #include "menu.h" @@ -1609,6 +1609,7 @@ void cMenuSetup::Set(void) Add(new cMenuEditIntItem( tr("MarginStop"), &data.MarginStop)); Add(new cMenuEditIntItem( tr("EPGScanTimeout"), &data.EPGScanTimeout)); Add(new cMenuEditIntItem( tr("SVDRPTimeout"), &data.SVDRPTimeout)); + Add(new cMenuEditIntItem( tr("PrimaryLimit"), &data.PrimaryLimit)); } eOSState cMenuSetup::ProcessKey(eKeys Key) @@ -1996,7 +1997,7 @@ bool cRecordControls::Start(cTimer *Timer) } } } - else + else if (!Timer || Timer->priority >= Setup.PrimaryLimit) esyslog(LOG_ERR, "ERROR: no free DVB device to record channel %d!", ch); } else |