summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r--video/out/x11_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 3c0f275370..78e4778ecf 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -1327,7 +1327,8 @@ void vo_x11_check_events(struct vo *vo)
if (cookie->evtype == PresentCompleteNotify) {
XPresentCompleteNotifyEvent *present_event;
present_event = (XPresentCompleteNotifyEvent *)cookie->data;
- present_update_sync_values(x11->present, present_event->ust,
+ present_update_sync_values(x11->present,
+ present_event->ust * 1000,
present_event->msc);
}
}