summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-24 14:03:39 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-24 14:03:39 +0100
commitedacac5f91713ff996853c0de665ff3c237eaf8a (patch)
treeccdec45c02a89e8c9b57a3315a4ad20ebbff626b /menu.c
parent377b15b53579ac2a6eaf304b07b9862b305c9150 (diff)
downloadvdr-edacac5f91713ff996853c0de665ff3c237eaf8a.tar.gz
vdr-edacac5f91713ff996853c0de665ff3c237eaf8a.tar.bz2
Implemented PrimaryLimit setup parameter
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 37c1a16c..651ae70c 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.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