diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-10 12:52:14 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-10 12:52:14 +0100 |
commit | 5a44b8b801493cc7ed474309076d8cd9296ba59f (patch) | |
tree | edb8957ed0292a314829bddf01b92748f0d56a6c | |
parent | 47ea5cb1d0e3fa241e9676511ee197d1428bf349 (diff) | |
download | vdr-5a44b8b801493cc7ed474309076d8cd9296ba59f.tar.gz vdr-5a44b8b801493cc7ed474309076d8cd9296ba59f.tar.bz2 |
Running the thread that removes deleted recordings at a low priority
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | recording.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -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. diff --git a/recording.c b/recording.c index 7999f724..e4e2be6a 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.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()) { |