Running the thread that removes deleted recordings at a low priority

This commit is contained in:
Klaus Schmidinger 2008-02-10 12:52:14 +01:00
parent 47ea5cb1d0
commit 5a44b8b801
2 changed files with 5 additions and 2 deletions

View File

@ -5579,7 +5579,7 @@ Video Disk Recorder Revision History
is not available, in order to allow staying on an encrypted channel that takes
a while for the CAM to start decrypting.
2008-02-09: Version 1.5.15
2008-02-10: Version 1.5.15
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- Added option -i to the pictures plugin's pic2mpg to ignore unknown file types.
@ -5611,3 +5611,5 @@ Video Disk Recorder Revision History
it applies to non-VPS recordings as well.
- Fixed a loss of a timer's 'recording' flag after modifying it via MODT.
- Fixed detecting directories in cFileNameList::Load().
- Running the thread that removes deleted recordings at a low priority to (maybe)
avoid stuttering replay in case the thread is run during replay.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recording.c 1.157 2007/11/04 11:17:43 kls Exp $
* $Id: recording.c 1.158 2008/02/10 12:52:14 kls Exp $
*/
#include "recording.h"
@ -81,6 +81,7 @@ cRemoveDeletedRecordingsThread::cRemoveDeletedRecordingsThread(void)
void cRemoveDeletedRecordingsThread::Action(void)
{
SetPriority(19);
// Make sure only one instance of VDR does this:
cLockFile LockFile(VideoDirectory);
if (LockFile.Lock()) {