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 authored and Dudemanguy committed 2023-11-08 21:55:08 +00:00
1 parent 24270b8587
commit 54a7acb7dc
1 file changed
+2 -5
+2 -5
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;
}