mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Changed DELETEDLIFETIME to 300
This commit is contained in:
parent
e9e8241d0d
commit
f00372190d
6
HISTORY
6
HISTORY
@ -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).
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user