diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 139b840c23..0d70106ed8 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -665,7 +665,9 @@ bool vo_is_ready_for_frame(struct vo *vo, int64_t next_pts) r = false; if (!in->wakeup_pts || next_pts < in->wakeup_pts) { in->wakeup_pts = next_pts; - wakeup_locked(vo); + // If we have to wait, update the vo thread's timer. + if (!r) + wakeup_locked(vo); } } pthread_mutex_unlock(&in->lock); |