summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-01 15:04:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-01 15:04:14 +0200
commit5a5fc72814c0a687d38b64c387f9bda642f8c4aa (patch)
tree08f216114cc768b79d3e3447457e2066631638c9 /menu.c
parente2701822e83dbdb893e60ab556dbb0cbc7b3af21 (diff)
downloadvdr-5a5fc72814c0a687d38b64c387f9bda642f8c4aa.tar.gz
vdr-5a5fc72814c0a687d38b64c387f9bda642f8c4aa.tar.bz2
Stopping finished timer recordings before starting new ones
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index 1507b676..65e2d0ba 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.110 2001/08/31 13:47:28 kls Exp $
+ * $Id: menu.c 1.111 2001/09/01 14:56:31 kls Exp $
*/
#include "menu.h"
@@ -2163,9 +2163,9 @@ void cRecordControl::Stop(bool KeepInstant)
}
}
-bool cRecordControl::Process(void)
+bool cRecordControl::Process(time_t t)
{
- if (!timer || !timer->Matches())
+ if (!timer || !timer->Matches(t))
return false;
AssertFreeDiskSpace(timer->priority);
return true;
@@ -2235,11 +2235,11 @@ const char *cRecordControls::GetInstantId(const char *LastInstantId)
return NULL;
}
-void cRecordControls::Process(void)
+void cRecordControls::Process(time_t t)
{
for (int i = 0; i < MAXDVBAPI; i++) {
if (RecordControls[i]) {
- if (!RecordControls[i]->Process())
+ if (!RecordControls[i]->Process(t))
DELETENULL(RecordControls[i]);
}
}