summaryrefslogtreecommitdiffstats
path: root/video/out/vo_drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_drm.c')
-rw-r--r--video/out/vo_drm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index 3436e0fc5c..2fdd840588 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -250,6 +250,8 @@ static void wait_events(struct vo *vo, int64_t until_time_us)
int64_t wait_us = until_time_us - mp_time_us();
int timeout_ms = MPCLAMP((wait_us + 500) / 1000, 0, 10000);
vt_switcher_poll(&p->vt_switcher, timeout_ms);
+ } else {
+ vo_wait_default(vo, until_time_us);
}
}