summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-07 17:07:04 +0200
committerwm4 <wm4@nowhere>2013-06-07 17:07:04 +0200
commit812798c5ace0d0ffbdeea8fc603f31bf3fe70b79 (patch)
tree8297650ca59131db3f6eb0effd7f7f0839655dee /core
parent6fc91b44cde1bfeecd0fccf29765a801bf2b42e1 (diff)
downloadmpv-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.c2
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,