From d92395d205dc9638c354c4bc7e58a969f889ebec Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 17 Nov 2019 01:39:54 +0100 Subject: player: remove some unnecessary coverart special cases These should not be needed, since video is in EOF mode in this case anyway. Not too sure about the video.c case to be honest, well, here goes nothing. --- player/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index 337865f1eb..e0353700f0 100644 --- a/player/video.c +++ b/player/video.c @@ -560,7 +560,7 @@ static void update_avsync_before_frame(struct MPContext *mpctx) struct MPOpts *opts = mpctx->opts; struct vo *vo = mpctx->video_out; - if (mpctx->vo_chain->is_coverart || mpctx->video_status < STATUS_READY) { + if (mpctx->video_status < STATUS_READY) { mpctx->time_frame = 0; } else if (mpctx->display_sync_active || opts->video_sync == VS_NONE) { // don't touch the timing -- cgit v1.2.3