summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/playloop.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/player/playloop.c b/player/playloop.c
index a7771b8be3..8845b58cef 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -674,11 +674,16 @@ static void handle_pause_on_low_cache(struct MPContext *mpctx)
if (mpctx->cache_buffer != cache_buffer) {
if ((mpctx->cache_buffer == 100) != (cache_buffer == 100)) {
if (cache_buffer < 100) {
- MP_VERBOSE(mpctx, "Enter buffering.\n");
+ MP_VERBOSE(mpctx, "Enter buffering (buffer went from %d%% -> %d%%) [%fs].\n",
+ mpctx->cache_buffer, cache_buffer, s.ts_duration);
} else {
double t = now - mpctx->cache_stop_time;
- MP_VERBOSE(mpctx, "End buffering (waited %f secs).\n", t);
+ MP_VERBOSE(mpctx, "End buffering (waited %f secs) [%fs].\n",
+ t, s.ts_duration);
}
+ } else {
+ MP_VERBOSE(mpctx, "Still buffering (buffer went from %d%% -> %d%%) [%fs].\n",
+ mpctx->cache_buffer, cache_buffer, s.ts_duration);
}
mpctx->cache_buffer = cache_buffer;
force_update = true;