diff options
author | wm4 <wm4@nowhere> | 2013-06-07 17:07:04 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-07 17:07:04 +0200 |
commit | 812798c5ace0d0ffbdeea8fc603f31bf3fe70b79 (patch) | |
tree | 8297650ca59131db3f6eb0effd7f7f0839655dee /core | |
parent | 6fc91b44cde1bfeecd0fccf29765a801bf2b42e1 (diff) | |
download | mpv-812798c5ace0d0ffbdeea8fc603f31bf3fe70b79.tar.bz2 mpv-812798c5ace0d0ffbdeea8fc603f31bf3fe70b79.tar.xz |
core: reset pause state by default when going to next file
Apparently this behavior is more intuitive/better to users.
Diffstat (limited to 'core')
-rw-r--r-- | core/defaultopts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/defaultopts.c b/core/defaultopts.c index a03370bed6..30452a139a 100644 --- a/core/defaultopts.c +++ b/core/defaultopts.c @@ -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, |