mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now reducing the thread and I/O priority cCuttingThread::Action()
This commit is contained in:
parent
607c860c81
commit
e8406def02
@ -2662,3 +2662,6 @@ Andreas Oberritter <obi@opendreambox.org>
|
||||
|
||||
Milan Cvijanovic <elcom_cvijo@hotmail.com>
|
||||
for translating OSD texts to the Serbian language
|
||||
|
||||
Frank Neumann <frank.neumann@hp.com>
|
||||
for suggesting to reduce the thread and I/O priority cCuttingThread::Action()
|
||||
|
4
HISTORY
4
HISTORY
@ -6481,7 +6481,7 @@ Video Disk Recorder Revision History
|
||||
from Osama Alrawab). See INSTALL for information on how to turn this on.
|
||||
- Added Arabian language texts (thanks to Osama Alrawab).
|
||||
|
||||
2011-02-27: Version 1.7.17
|
||||
2011-03-06: Version 1.7.17
|
||||
|
||||
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
|
||||
- Fixed following symbolic links in RemoveFileOrDir() (cont'd) (thanks to
|
||||
@ -6547,3 +6547,5 @@ Video Disk Recorder Revision History
|
||||
boost in the AlphaBlend() function.
|
||||
- While replaying, the editing marks are now updated every 10 seconds (based on a
|
||||
patch from Manuel Reimer).
|
||||
- Now reducing the thread and I/O priority cCuttingThread::Action() to make the
|
||||
foreground process more responsive (suggested by Frank Neumann).
|
||||
|
4
cutter.c
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user