diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_x11.c | 2 | ||||
-rw-r--r-- | video/out/vo_xv.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); } } |