diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-03 11:39:48 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-03 11:39:48 +0100 |
commit | f00372190d4b101a6dbf8b964fa0885908d2a9c9 (patch) | |
tree | 11060c0c8768d5cd76b8de5adbb41f51e6d3905a | |
parent | e9e8241d0d052926e622e2b49aafb85a123eb32d (diff) | |
download | vdr-f00372190d4b101a6dbf8b964fa0885908d2a9c9.tar.gz vdr-f00372190d4b101a6dbf8b964fa0885908d2a9c9.tar.bz2 |
Changed DELETEDLIFETIME to 300
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | recording.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -3981,7 +3981,11 @@ Video Disk Recorder Revision History recordings that need to be removed (reported by Carsten Koch). - Fixed handling the DELETEDLIFETIME when removing deleted recordings. Now a deleted recording is retained at least DELETEDLIFETIME seconds before - actually removing it (unless a new recording requires the disk space). + actually removing it. + The value of DELETEDLIFETIME has been changed to 300. So after (possibly + inadvertently) deleting a recording, there will be at least 5 minutes + in which it can be recovered (unless a new recording immediately requires + the disk space). The count starts again at 0 every time VDR is started. - Fixed a possible crash when displaying the "Low disk space!" message from a background thread (thanks to Christof Steininger). - Fixed handling OSD areas that have invalid sizes (thanks to Marco Schlüßler). diff --git a/recording.c b/recording.c index b2718c9a..9b4793a8 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.130 2005/12/28 12:19:16 kls Exp $ + * $Id: recording.c 1.131 2006/01/03 11:36:12 kls Exp $ */ #include "recording.h" @@ -49,7 +49,7 @@ #define MINDISKSPACE 1024 // MB #define REMOVECHECKDELTA 60 // seconds between checks for removing deleted files -#define DELETEDLIFETIME 3600 // seconds after which a deleted recording will be actually removed +#define DELETEDLIFETIME 300 // seconds after which a deleted recording will be actually removed #define DISKCHECKDELTA 100 // seconds between checks for free disk space #define REMOVELATENCY 10 // seconds to wait until next check after removing a file |