summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-10 14:27:45 +0200
committerwm4 <wm4@nowhere>2014-10-10 14:27:45 +0200
commitd4b2a96d90249dd435679a6f24af2248b1f8dd0b (patch)
treef1d198d129b5e8ab2a29d55941da88813bcefd3b /player/loadfile.c
parent26bc6b48313dd0470a3998dace217148fc314271 (diff)
downloadmpv-d4b2a96d90249dd435679a6f24af2248b1f8dd0b.tar.bz2
mpv-d4b2a96d90249dd435679a6f24af2248b1f8dd0b.tar.xz
Revert "player: --save-position-on-quit should always work"
This reverts commit 45c8b97efbaff7a5031b008223eeed56f7b0607a. Some else complained (github issue #1163). The feature requested in #1148 will be implemented differently in the following commit.
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index bcaebf14a4..ac1d765619 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1194,7 +1194,7 @@ terminate_playback:
if (mpctx->stop_play != AT_END_OF_FILE)
clear_audio_output_buffers(mpctx);
- if (opts->position_save_on_quit && PT_IS_QUIT(mpctx->stop_play))
+ if (opts->position_save_on_quit && mpctx->stop_play == PT_QUIT)
mp_write_watch_later_conf(mpctx);
if (mpctx->step_frames)