From cf3b34f17aa3123996b93b7e76f8e2d58a32dedb Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 14 Nov 2015 21:45:27 +0100 Subject: vo: fix dropping frames with display-sync I guess the removed code is an old leftover, and makes no sense anymore. Should fix weird A/V diff dropouts when frames are being dropped with display-sync. --- video/out/vo.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/out/vo.c') diff --git a/video/out/vo.c b/video/out/vo.c index 767f6bab7d..9e1d1c3dd2 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -1049,8 +1049,6 @@ double vo_get_delay(struct vo *vo) res += (in->current_frame->num_vsyncs + extra) * in->vsync_interval; if (!in->current_frame->display_synced) res = 0; - if (in->current_frame->num_vsyncs < 1 && !in->rendering) - res = 0; } pthread_mutex_unlock(&in->lock); return res ? (res - mp_time_us()) / 1e6 : 0; -- cgit v1.2.3