diff options
author | wm4 <wm4@nowhere> | 2016-04-23 16:39:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-23 16:39:46 +0200 |
commit | abb3f80998e46dad6e213b476a9de9796f21d9bf (patch) | |
tree | 0f33e82496e195266b1d8d1dada052e934739542 | |
parent | b1a8e8dba66fb9c85e3a1d4e812d4f842db68fe6 (diff) | |
download | mpv-abb3f80998e46dad6e213b476a9de9796f21d9bf.tar.bz2 mpv-abb3f80998e46dad6e213b476a9de9796f21d9bf.tar.xz |
player: eagerly redraw OSD when seeking with coverart
-rw-r--r-- | player/playloop.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |