summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-04-27 15:56:04 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-04-27 15:56:04 +0200
commit249a4ab95914fd00601915354d8aabf75da1e064 (patch)
tree72ffe0a0f96afbf4a66a56229647e9ae2c78da73 /recording.c
parenta804b990fe9541b2553dba4be4efab620a94e991 (diff)
downloadvdr-249a4ab95914fd00601915354d8aabf75da1e064.tar.gz
vdr-249a4ab95914fd00601915354d8aabf75da1e064.tar.bz2
Fixed minimum lifespan of deleted recordings
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c
index 261bee8b..23521a61 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.75 2003/04/12 09:51:44 kls Exp $
+ * $Id: recording.c 1.76 2003/04/27 15:52:17 kls Exp $
*/
#include "recording.h"
@@ -78,7 +78,7 @@ void RemoveDeletedRecordings(void)
r0 = r;
r = Recordings.Next(r);
}
- if (r0 && time(NULL) - r0->start > DELETEDLIFETIME * 60) {
+ if (r0 && time(NULL) - r0->start > DELETEDLIFETIME * 3600) {
r0->Remove();
RemoveEmptyVideoDirectories();
LastRemoveCheck += REMOVELATENCY;