From abb3f80998e46dad6e213b476a9de9796f21d9bf Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 23 Apr 2016 16:39:46 +0200 Subject: [PATCH] player: eagerly redraw OSD when seeking with coverart --- player/playloop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/player/playloop.c b/player/playloop.c index 2ff2dced36..71ecd7ee52 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -504,7 +504,8 @@ static void handle_osd_redraw(struct MPContext *mpctx) return; } // Don't redraw immediately during a seek (makes it significantly slower). - if (mpctx->vo_chain && mp_time_sec() - mpctx->start_timestamp < 0.1) { + bool use_video = mpctx->vo_chain && !mpctx->vo_chain->is_coverart; + if (use_video && mp_time_sec() - mpctx->start_timestamp < 0.1) { mpctx->sleeptime = MPMIN(mpctx->sleeptime, 0.1); return; }