From f44a242258c282eb1407899a64571c39d010285b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 25 May 2013 19:56:52 +0200 Subject: Replace calls to usec_sleep() This is just dumb sed replacement to mp_sleep_us(). Also remove the now unused usec_sleep() wrapper. --- video/out/vo_x11.c | 2 +- video/out/vo_xv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'video') diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index 845679c8f9..e7b595ff67 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -475,7 +475,7 @@ static void wait_for_completion(struct vo *vo, int max_outstanding) " for XShm completion events...\n"); ctx->Shm_Warned_Slow = 1; } - usec_sleep(1000); + mp_sleep_us(1000); vo_x11_check_events(vo); } } diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index d119125db4..0f02310473 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -685,7 +685,7 @@ static void wait_for_completion(struct vo *vo, int max_outstanding) " for XShm completion events...\n"); ctx->Shm_Warned_Slow = 1; } - usec_sleep(1000); + mp_sleep_us(1000); vo_x11_check_events(vo); } } -- cgit v1.2.3