summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/loadfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index cb4d2ffc0e..c6f0a17276 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1293,6 +1293,8 @@ terminate_playback:
};
mp_notify(mpctx, MPV_EVENT_END_FILE, &end_event);
+ MP_VERBOSE(mpctx, "finished playback, %s (reason %d)\n",
+ mpv_error_string(end_event.error), end_event.reason);
if (mpctx->error_playing == MPV_ERROR_UNKNOWN_FORMAT)
MP_ERR(mpctx, "Failed to recognize file format.\n");
MP_INFO(mpctx, "\n");