summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 68af6a38c8..ae5eca7ba5 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -716,6 +716,7 @@ static bool render_frame(struct vo *vo)
.pts = pts,
.next_vsync = next_vsync,
.prev_vsync = prev_vsync,
+ .vsync_offset = next_vsync - pts,
.frame = img,
.num_future_frames = num_future_frames,
.future_frames = future_frames,