[MPlayer-dev-eng] [PATCH] Darwin timer patch (was: Re: Cache trouble with MacOSX / Darwin)

Romain Dolbeau dolbeau at irisa.fr
Mon Jan 12 16:20:45 CET 2004


Diego Biurrun wrote:
> Romain Dolbeau writes:
>  > I should really try to find the time to submit the patch.
> 
> Yes, please do so.

Here it is. This patch replace the MACH-based usec_sleep()
in osdep/timer-darwin.c by a call to usleep(), like on
other Un*x(-like) OSes. It keeps the old code around,
in case some older Darwin/MacOS X release doesn't have
usleep() and someone want to fix it (I'm using 10.2.8,
not 10.3, but maybe mplayer still supports 10.0 or 10.1...)

-- 
Romain Dolbeau
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer.time-darwin.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040112/927efdd3/attachment.txt>


More information about the MPlayer-dev-eng mailing list