[MPlayer-dev-eng] [PATCH] Timer cosmetics

Dan Christiansen danchr at daimi.au.dk
Thu Apr 3 20:44:25 CEST 2003


I found it quite confusing that mplayer kept reporting "Using usleep() 
timing" even though it actually never did. Even before I wrote the 
mac-specific timer, it used nanosleep() timing :)

This patch changes textual references to usleep in mplayer.c to timer, 
and makes it ask the timer for a name. This way it will now print 
"Using usleep()/nanosleep()/CoreFoundation/Win32 timing" whichever is 
appropriate.

By the way, shouldn't RTC timing ideally be a timer as well?

- Dan Christiansen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: timing.diff
Type: application/octet-stream
Size: 3151 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030403/7a49e9d1/attachment.obj>


More information about the MPlayer-dev-eng mailing list