Mercurial > mplayer.hg
changeset 11867:d12758db79aa
disable buggy code, patch by Romain Dolbeau
author | alex |
---|---|
date | Wed, 28 Jan 2004 10:40:29 +0000 |
parents | bfc01249a7bc |
children | 711e584107af |
files | osdep/timer-darwin.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/osdep/timer-darwin.c Wed Jan 28 10:19:49 2004 +0000 +++ b/osdep/timer-darwin.c Wed Jan 28 10:40:29 2004 +0000 @@ -74,6 +74,7 @@ /* sleep usec_delay microseconds */ int usec_sleep(int usec_delay) { +#if 0 mach_timespec_t start_time, end_time; clock_get_time(clock_port, &start_time); @@ -86,6 +87,9 @@ clock_get_time(clock_port, &end_time); return usec_delay - udiff_time(start_time, end_time); +#else + usleep(usec_delay); +#endif }