summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-18 22:31:55 +0200
committerwm4 <wm4@nowhere>2015-06-18 22:31:55 +0200
commitb1a56d11fe805ac64e43e2f16cc6ce11da69a6ca (patch)
tree4aa60f4c05d01f3c9f138768f95eb11acb513e3b /player/playloop.c
parentd328b2088c6e4b55473fe6969d7c540677831f47 (diff)
downloadmpv-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.c4
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");
}
}