mirror of https://github.com/mpv-player/mpv
mplayer: print informative message when resuming playback
In particular, this informs the user how to disable this.
This commit is contained in:
parent
62ab8441a6
commit
88503a12c2
|
@ -891,6 +891,8 @@ static void load_playback_resume(m_config_t *conf, const char *file)
|
||||||
if (fname) {
|
if (fname) {
|
||||||
// Never apply the saved start position to following files
|
// Never apply the saved start position to following files
|
||||||
m_config_backup_opt(conf, "start");
|
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);
|
try_load_config(conf, fname, false);
|
||||||
unlink(fname);
|
unlink(fname);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue