1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 11:02:10 +00:00

options: don't reset pause mode when switching to next file

This basically reverts the default as set by commit 812798c5. This seems
to be a matter of taste, but personally I think keeping the pause
setting is better.
This commit is contained in:
wm4 2014-01-09 21:23:19 +01:00
parent 72743ef6fe
commit 09bf69afdb
2 changed files with 3 additions and 4 deletions

View File

@ -1845,7 +1845,7 @@ OPTIONS
behavior is the opposite of MPlayer's, which tries to reset all settings behavior is the opposite of MPlayer's, which tries to reset all settings
when starting next file.) when starting next file.)
Default: ``--reset-on-next-file=pause`` (only the pause mode is reset). Default: Do not reset anything.
This can be changed with this option. It accepts a list of options, and This can be changed with this option. It accepts a list of options, and
mpv will reset the value of these options on playback start to the initial mpv will reset the value of these options on playback start to the initial
@ -1860,13 +1860,13 @@ OPTIONS
.. admonition:: Examples .. admonition:: Examples
- ``--reset-on-next-file=pause``
Reset pause mode when switching to the next file.
- ``--reset-on-next-file=fullscreen,speed`` - ``--reset-on-next-file=fullscreen,speed``
Reset fullscreen and playback speed settings if they were changed Reset fullscreen and playback speed settings if they were changed
during playback. during playback.
- ``--reset-on-next-file=all`` - ``--reset-on-next-file=all``
Try to reset all settings that were changed during playback. Try to reset all settings that were changed during playback.
- ``--reset-on-next-file=""``
Do not reset pause mode.
``--right-alt-gr``, ``--no-right-alt-gr`` ``--right-alt-gr``, ``--no-right-alt-gr``
(Cocoa and Windows only) (Cocoa and Windows only)

View File

@ -651,7 +651,6 @@ const m_option_t mp_opts[] = {
const struct MPOpts mp_default_opts = { const struct MPOpts mp_default_opts = {
.msg_color = 1, .msg_color = 1,
.reset_options = (char **)(const char *[]){"pause", NULL},
.audio_driver_list = NULL, .audio_driver_list = NULL,
.audio_decoders = "-spdif:*", // never select spdif by default .audio_decoders = "-spdif:*", // never select spdif by default
.video_decoders = NULL, .video_decoders = NULL,