summaryrefslogtreecommitdiff
path: root/cutter.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-10-04 12:32:31 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-10-04 12:32:31 +0200
commit1e9b16d20bacb9795a07af5ff61db67fc78c3728 (patch)
tree89f487b4781a65b81e2625f28a18207e82eb1cec /cutter.c
parent5a407d0e68c8b0ef00613f6839aeadbf6b92224a (diff)
downloadvdr-1e9b16d20bacb9795a07af5ff61db67fc78c3728.tar.gz
vdr-1e9b16d20bacb9795a07af5ff61db67fc78c3728.tar.bz2
The cThread constructor now has an additional boolean parameter that can be set to true to have this thread run at a lower priority
Diffstat (limited to 'cutter.c')
-rw-r--r--cutter.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cutter.c b/cutter.c
index bcae2b72..a0e2b477 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.14 2012/09/20 09:12:47 kls Exp $
+ * $Id: cutter.c 2.15 2012/10/04 12:19:37 kls Exp $
*/
#include "cutter.h"
@@ -33,7 +33,7 @@ public:
};
cCuttingThread::cCuttingThread(const char *FromFileName, const char *ToFileName)
-:cThread("video cutting")
+:cThread("video cutting", true)
{
error = NULL;
fromFile = toFile = NULL;
@@ -69,8 +69,6 @@ void cCuttingThread::Action(void)
{
cMark *Mark = fromMarks.First();
if (Mark) {
- SetPriority(19);
- SetIOPriority(7);
fromFile = fromFileName->Open();
toFile = toFileName->Open();
if (!fromFile || !toFile)