mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 14:52:43 +00:00
core: reset pause state by default when going to next file
Apparently this behavior is more intuitive/better to users.
This commit is contained in:
parent
6fc91b44cd
commit
812798c5ac
@ -1741,6 +1741,8 @@
|
||||
behavior is the opposite of MPlayer's, which tries to reset all settings
|
||||
when starting next file.)
|
||||
|
||||
Default: ``--reset-on-next-file=pause`` (only the pause mode is reset).
|
||||
|
||||
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
|
||||
value. The initial value is either the default value, or as set by the
|
||||
@ -1758,6 +1760,7 @@
|
||||
speed settings if they were changed during playback.
|
||||
- ``--reset-on-next-file=all`` Try to reset all settings that were changed
|
||||
during playback.
|
||||
- ``--reset-on-next-file=""`` Don't reset pause mode.
|
||||
|
||||
--reuse-socket
|
||||
(udp:// only)
|
||||
|
@ -8,7 +8,9 @@
|
||||
|
||||
void set_default_mplayer_options(struct MPOpts *opts)
|
||||
{
|
||||
static const char *reset_options[] = {"pause", NULL};
|
||||
*opts = (const struct MPOpts){
|
||||
.reset_options = (char **)reset_options,
|
||||
.audio_driver_list = NULL,
|
||||
.audio_decoders = "-spdif:*", // never select spdif by default
|
||||
.video_decoders = NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user