summaryrefslogtreecommitdiff
path: root/cutter.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-03-06 14:59:57 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-03-06 14:59:57 +0100
commite8406def0265747e484e2689cd5d26bee23ec3b0 (patch)
treec2c7dbb147ba39c9126c47f60fd5e94c9cbf483c /cutter.c
parent607c860c81920dcca458862136b2e5f784803c4a (diff)
downloadvdr-e8406def0265747e484e2689cd5d26bee23ec3b0.tar.gz
vdr-e8406def0265747e484e2689cd5d26bee23ec3b0.tar.bz2
Now reducing the thread and I/O priority cCuttingThread::Action()
Diffstat (limited to 'cutter.c')
-rw-r--r--cutter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cutter.c b/cutter.c
index c1f49849..96739fdd 100644
--- a/cutter.c
+++ b/cutter.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: cutter.c 2.5 2010/08/29 13:35:18 kls Exp $
+ * $Id: cutter.c 2.6 2011/03/06 14:54:33 kls Exp $
*/
#include "cutter.h"
@@ -68,6 +68,8 @@ void cCuttingThread::Action(void)
{
cMark *Mark = fromMarks.First();
if (Mark) {
+ SetPriority(19);
+ SetIOPriority(7);
fromFile = fromFileName->Open();
toFile = toFileName->Open();
if (!fromFile || !toFile)