summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-04 18:16:47 +0200
committerwm4 <wm4@nowhere>2013-09-04 18:16:47 +0200
commit88503a12c2fcdbe02e7ee06fcc6315cf163ec468 (patch)
tree7b85015646ec94b66e1d2f240c3a3af48d94175a
parent62ab8441a6137d6a8832831d1bef212f6278d4e1 (diff)
downloadmpv-88503a12c2fcdbe02e7ee06fcc6315cf163ec468.tar.bz2
mpv-88503a12c2fcdbe02e7ee06fcc6315cf163ec468.tar.xz
mplayer: print informative message when resuming playback
In particular, this informs the user how to disable this.
-rw-r--r--mpvcore/mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c
index ac4642ab57..9447afa6c0 100644
--- a/mpvcore/mplayer.c
+++ b/mpvcore/mplayer.c
@@ -891,6 +891,8 @@ static void load_playback_resume(m_config_t *conf, const char *file)
if (fname) {
// Never apply the saved start position to following files
m_config_backup_opt(conf, "start");
+ mp_msg(MSGT_CPLAYER, MSGL_INFO, "Resuming playback. This behavior can "
+ "be disabled with --no-resume-playback.\n");
try_load_config(conf, fname, false);
unlink(fname);
}