[MPlayer-cygwin] Change priority to realtime in windows

Joseph Miller joseph at tidetamerboatlifts.com
Mon Sep 27 14:15:47 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 26 September 2004 6:28 pm, Daniel Johansson wrote:
> Hi, how to I change so that mplayer gets realtime priority by windows every
> time I start a movie? I got some problems with laggy movies but it works
> fine as soon as I change the priority to realtime. Is there any way to tell
> mplayer to always use realtime as priority, if so how?
>
> And by the way is realtime a bad choice for priority or is that the one to
> use if I only want to use it the box to watch movies at that time?

SetThreadPriority in winbase.h ought to help you out some.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/setthreadpriority.asp

- -Joseph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBWAR4mXZROF+EADURAkLvAJ9+vBVtOWaV1HdyHs2ZB2IRddHx2QCfVqIg
xKEoRFjlj8rxAYxEHTOk1FU=
=wt6Y
-----END PGP SIGNATURE-----




More information about the MPlayer-cygwin mailing list