diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-18 05:32:45 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-18 05:32:45 +0000 |
commit | 730a647a2a30126d2a81e8adfce3e0b36ec8ef2d (patch) | |
tree | 7eeb99bb332e841e87860d2e144b88eb5081cdf7 /mplayer.c | |
parent | 5bcba9c99d89e92e7f1e9befa861e84377998c8b (diff) | |
download | mpv-730a647a2a30126d2a81e8adfce3e0b36ec8ef2d.tar.bz2 mpv-730a647a2a30126d2a81e8adfce3e0b36ec8ef2d.tar.xz |
Remove an unnecessary #ifdef
The default version of the sleep timer no longer has the code which
required adding a different #ifdef SYS_DARWIN version, so remove
the Darwin implementation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24090 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1652,15 +1652,6 @@ static float timing_sleep(float time_frame) } } else #endif -#ifdef SYS_DARWIN - { - current_module = "sleep_darwin"; - while (time_frame > 0.005) { - usec_sleep(1000000*time_frame); - time_frame -= GetRelativeTime(); - } - } -#else { // assume kernel HZ=100 for softsleep, works with larger HZ but with // unnecessarily high CPU usage @@ -1678,7 +1669,6 @@ static float timing_sleep(float time_frame) time_frame-=GetRelativeTime(); // burn the CPU } } -#endif /* SYS_DARWIN */ return time_frame; } |