diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-10-20 20:42:22 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-08 21:55:08 +0000 |
commit | 54a7acb7dcc8b4f23721dc6718ae8ee7df275b1a (patch) | |
tree | 279b9f7bd0a2d2b3e9c75823d3f7a3340bfc3cbd | |
parent | 24270b8587ab466598cc351a85e219e59ff05561 (diff) | |
download | mpv-54a7acb7dcc8b4f23721dc6718ae8ee7df275b1a.tar.bz2 mpv-54a7acb7dcc8b4f23721dc6718ae8ee7df275b1a.tar.xz |
Revert "player: don't print status line again when quitting"
This workaround is not longer needed.
This reverts commit cdc05c33b33d958a8877851bd5942adbb856f5e4.
-rw-r--r-- | player/osd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/player/osd.c b/player/osd.c index 92647a793e..90789bd1df 100644 --- a/player/osd.c +++ b/player/osd.c @@ -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; } |