[MPlayer-cvslog] r24090 - trunk/mplayer.c
uau
subversion at mplayerhq.hu
Sat Aug 18 07:32:45 CEST 2007
Author: uau
Date: Sat Aug 18 07:32:45 2007
New Revision: 24090
Log:
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.
Modified:
trunk/mplayer.c
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c (original)
+++ trunk/mplayer.c Sat Aug 18 07:32:45 2007
@@ -1652,15 +1652,6 @@ static float timing_sleep(float time_fra
}
} 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_fra
time_frame-=GetRelativeTime(); // burn the CPU
}
}
-#endif /* SYS_DARWIN */
return time_frame;
}
More information about the MPlayer-cvslog
mailing list