diff options
author | wm4 <wm4@nowhere> | 2015-06-18 22:31:55 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-18 22:31:55 +0200 |
commit | b1a56d11fe805ac64e43e2f16cc6ce11da69a6ca (patch) | |
tree | 4aa60f4c05d01f3c9f138768f95eb11acb513e3b /player/playloop.c | |
parent | d328b2088c6e4b55473fe6969d7c540677831f47 (diff) | |
download | mpv-b1a56d11fe805ac64e43e2f16cc6ce11da69a6ca.tar.bz2 mpv-b1a56d11fe805ac64e43e2f16cc6ce11da69a6ca.tar.xz |
player: add some debug output for seeking
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"); } } |