summaryrefslogtreecommitdiffstats
path: root/core/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/mplayer.c')
-rw-r--r--core/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 8e077e248d..7aeb91f1b2 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -2029,7 +2029,7 @@ static double timing_sleep(struct MPContext *mpctx, double time_frame)
struct MPOpts *opts = &mpctx->opts;
double margin = opts->softsleep ? 0.011 : 0;
while (time_frame > margin) {
- usec_sleep(1000000 * (time_frame - margin));
+ mp_sleep_us(1000000 * (time_frame - margin));
time_frame -= get_relative_time(mpctx);
}
if (opts->softsleep) {