0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

Revert "player: don't print status line again when quitting"

This workaround is not longer needed.

This reverts commit cdc05c33b3.
This commit is contained in:
Kacper Michajłow 2023-10-20 20:42:22 +02:00 committed by Dudemanguy
parent 24270b8587
commit 54a7acb7dc

View File

@ -282,13 +282,10 @@ static void term_osd_print_status_lazy(struct MPContext *mpctx)
if (!opts->use_terminal)
return;
if (opts->quiet || !mpctx->playback_initialized ||
!mpctx->playing_msg_shown || mpctx->stop_play)
if (opts->quiet || !mpctx->playback_initialized || !mpctx->playing_msg_shown)
{
if (!mpctx->playing || mpctx->stop_play) {
mp_msg_flush_status_line(mpctx->log);
if (!mpctx->playing)
term_osd_set_status_lazy(mpctx, "");
}
return;
}