From 85818351610b6b3fa72ab46bbb17875876d99fe9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 1 Nov 2015 14:19:22 +0100 Subject: vo: fix no-audio mode with interpolation enabled/display-sync disabled Commit acd5816a broke this. It was stopping playback occasionally. Another case where the non-display-sync interpolation mode (in->vsync_timed==true) is causing a lot of subtle issues and will be removed soon. --- video/out/vo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo.c b/video/out/vo.c index 5bc34c0f1b..1ab0b91ef6 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -618,7 +618,7 @@ static bool render_frame(struct vo *vo) in->current_frame = in->frame_queued; in->frame_queued = NULL; } else if (in->paused || !in->current_frame || !in->hasframe || - in->current_frame->num_vsyncs < 1 || + (!in->vsync_timed && in->current_frame->num_vsyncs < 1) || (!in->vsync_timed && !in->current_frame->display_synced)) { goto done; -- cgit v1.2.3