mirror of
https://github.com/mpv-player/mpv
synced 2025-03-03 12:47:49 +00:00
player: add pause state to playback start message
Now the player tells you that audio or video are playing while paused, or something.
This commit is contained in:
parent
95e3a6e67e
commit
9ba90b4f6f
@ -1141,9 +1141,10 @@ static void handle_playback_restart(struct MPContext *mpctx)
|
|||||||
mpctx->playing_msg_shown = true;
|
mpctx->playing_msg_shown = true;
|
||||||
mp_wakeup_core(mpctx);
|
mp_wakeup_core(mpctx);
|
||||||
update_ab_loop_clip(mpctx);
|
update_ab_loop_clip(mpctx);
|
||||||
MP_VERBOSE(mpctx, "playback restart complete @ %f, audio=%s, video=%s\n",
|
MP_VERBOSE(mpctx, "playback restart complete @ %f, audio=%s, video=%s%s\n",
|
||||||
mpctx->playback_pts, mp_status_str(mpctx->audio_status),
|
mpctx->playback_pts, mp_status_str(mpctx->audio_status),
|
||||||
mp_status_str(mpctx->video_status));
|
mp_status_str(mpctx->video_status),
|
||||||
|
get_internal_paused(mpctx) ? " (paused)" : "");
|
||||||
|
|
||||||
// To avoid strange effects when using relative seeks, especially if
|
// To avoid strange effects when using relative seeks, especially if
|
||||||
// there are no proper audio & video timestamps (seeks after EOF).
|
// there are no proper audio & video timestamps (seeks after EOF).
|
||||||
|
Loading…
Reference in New Issue
Block a user