1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-03 04:37:54 +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:
wm4 2020-09-21 19:36:25 +02:00
parent 95e3a6e67e
commit 9ba90b4f6f

View File

@ -1141,9 +1141,10 @@ static void handle_playback_restart(struct MPContext *mpctx)
mpctx->playing_msg_shown = true;
mp_wakeup_core(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),
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
// there are no proper audio & video timestamps (seeks after EOF).