summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
authorAndreas Mair <andreas@vdr-developer.org>2011-04-14 16:04:27 +0200
committerAndreas Mair <andreas@vdr-developer.org>2011-04-14 16:04:27 +0200
commit902e8afe67ce1d9f56a16ea2ef89f71ce7f7139f (patch)
tree702f3a8142eb88f95bb38de253fecca6c771185c /tools.c
parent6ef40959d92d41b83b276c38c3de55f39c2bf832 (diff)
downloadvdr-plugin-extrecmenu-902e8afe67ce1d9f56a16ea2ef89f71ce7f7139f.tar.gz
vdr-plugin-extrecmenu-902e8afe67ce1d9f56a16ea2ef89f71ce7f7139f.tar.bz2
Reducing I/O priority for cut/move thread (if VDR >= 1.7.6 is used).
Diffstat (limited to 'tools.c')
-rw-r--r--tools.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools.c b/tools.c
index bba9b43..b0ff06e 100644
--- a/tools.c
+++ b/tools.c
@@ -297,6 +297,9 @@ void WorkerThread::Action()
MoveListItem *moveitem=NULL;
SetPriority(19);
+#if VDRVERSNUM >= 10706
+ SetIOPriority(7);
+#endif
while(Running())
{