summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-11-12 14:06:53 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-11-12 14:06:53 +0100
commit5b65773ec836a6086374657098bbcc55e74abd60 (patch)
tree0983e42cee97453e7286461da4f9e9dee4d8246c /config.c
parent54a2e99c7b86cafa5ad350171f021589ef2a80df (diff)
downloadvdr-5b65773ec836a6086374657098bbcc55e74abd60.tar.gz
vdr-5b65773ec836a6086374657098bbcc55e74abd60.tar.bz2
Using timer priority to interrupt lower priority timer recording
Diffstat (limited to 'config.c')
-rw-r--r--config.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.c b/config.c
index d4f8b383..f7344169 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.32 2000/11/11 15:41:07 kls Exp $
+ * $Id: config.c 1.33 2000/11/12 12:22:40 kls Exp $
*/
#include "config.h"
@@ -294,8 +294,8 @@ cTimer::cTimer(bool Instant)
if (stop >= 2400)
stop -= 2400;
//TODO VPS???
- priority = 99;
- lifetime = 99;
+ priority = DEFAULTPRIORITY;
+ lifetime = DEFAULTLIFETIME;
*file = 0;
summary = NULL;
if (Instant && ch)
@@ -319,8 +319,8 @@ cTimer::cTimer(const cEventInfo *EventInfo)
stop = time->tm_hour * 100 + time->tm_min;
if (stop >= 2400)
stop -= 2400;
- priority = 99;
- lifetime = 99;
+ priority = DEFAULTPRIORITY;
+ lifetime = DEFAULTLIFETIME;
*file = 0;
const char *Title = EventInfo->GetTitle();
if (!isempty(Title))