From 5800d1845ff1ff3271d5c5ca4624de3a3c78a312 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Apr 2016 20:14:51 +0200 Subject: player: always show the first frame in DS mode Fixes bogus frame drop counter in cover art mode. --- player/video.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index 271406070c..de3eb963fa 100644 --- a/player/video.c +++ b/player/video.c @@ -1130,6 +1130,10 @@ static void handle_display_sync_frame(struct MPContext *mpctx, drop_repeat = MPCLAMP(drop_repeat, -num_vsyncs, num_vsyncs * 10); num_vsyncs += drop_repeat; + // Always show the first frame. + if (mpctx->num_past_frames <= 1 && num_vsyncs < 1) + num_vsyncs = 1; + // Estimate the video position, so we can calculate a good A/V difference // value below. This is used to estimate A/V drift. double time_left = vo_get_delay(vo); -- cgit v1.2.3