[MPlayer-cygwin] Re: mplayer uses to much CPU on cygwin
Diego Biurrun
diego at biurrun.de
Mon Jul 7 17:31:01 CEST 2003
Sascha Sommer wrote:
>>>Also try the attached patch. The mingw build has this applied.
>>>If you use win98 redirecting mplayer's output or the -quiet option may
>
> give
>
>>>you a big performance gain.
>>
>>I tried the patch. I guess it works well for mingw, but it doesn't work
>>for cygwin:
>>
>>mplayer.o(.text+0x2954):mplayer.c: undefined reference to
>>`_GetCurrentProcess'
>>mplayer.o(.text+0x295c):mplayer.c: undefined reference to
>>`_SetPriorityClass'
>>collect2: ld returned 1 exit status
>>make: *** [mplayer] Error 1
>
> Dunno what is wrong. It should link to Kernel32 by default.
> Anyway the patch won't get into cvs in its current state because
> it is causing problems at uninit for me.
If the #ifdef is __MINGW32__ instead of WIN32 it compiles fine on
Cygwin. Does it still have other problems?
Diego
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win_priority.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20030707/cc182d3d/attachment.txt>
More information about the MPlayer-cygwin
mailing list