From b1a56d11fe805ac64e43e2f16cc6ce11da69a6ca Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 18 Jun 2015 22:31:55 +0200 Subject: player: add some debug output for seeking --- player/playloop.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'player/playloop.c') diff --git a/player/playloop.c b/player/playloop.c index 2b389def22..f92f70ba04 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -287,6 +287,9 @@ static int mp_seek(MPContext *mpctx, struct seek_params seek, mpctx->hrseek_framedrop = !hr_seek_very_exact; mpctx->hrseek_pts = hr_seek ? seek.amount : mpctx->timeline[mpctx->timeline_part].start; + + MP_VERBOSE(mpctx, "hr-seek, skipping to %f%s\n", mpctx->hrseek_pts, + mpctx->hrseek_framedrop ? "" : " (no framedrop)"); } mpctx->start_timestamp = mp_time_sec(); @@ -960,6 +963,7 @@ static void handle_playback_restart(struct MPContext *mpctx, double endpts) } } mpctx->playing_msg_shown = true; + MP_VERBOSE(mpctx, "playback restart complete\n"); } } -- cgit v1.2.3