summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index c53cec36a1..4b05e6042e 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -907,6 +907,9 @@ static bool render_frame(struct vo *vo)
frame->duration = -1;
}
+ if (in->paused)
+ frame->vsync_offset = 0;
+
int64_t now = mp_time_us();
int64_t pts = frame->pts;
int64_t duration = frame->duration;