summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-21 22:15:26 +0100
committerwm4 <wm4@nowhere>2013-02-23 00:07:11 +0100
commit8deb57b040fd416305de6575890788aad4059d99 (patch)
treeffefa85523c0a466bba1d24a121723d241179d29 /core/cfg-mplayer.h
parent9b7fb867f77bf0819bdfe1a4ceb55aade7db6f1b (diff)
downloadmpv-8deb57b040fd416305de6575890788aad4059d99.tar.bz2
mpv-8deb57b040fd416305de6575890788aad4059d99.tar.xz
options: fix --no-shuffle and --no-{
--no-shuffle accidentally did nothing after commit 57879a2. The options --no-{ and --no-} make no sense and shouldn't exist (wrong option type).
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r--core/cfg-mplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 30096ff295..84024f7a6d 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -647,8 +647,8 @@ const m_option_t mplayer_opts[]={
{"playlist", NULL, CONF_TYPE_STRING, CONF_NOCFG | M_OPT_MIN, 1, 0, NULL},
{"shuffle", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL},
- {"{", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL},
- {"}", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL},
+ {"{", NULL, CONF_TYPE_STORE, CONF_NOCFG, 0, 0, NULL},
+ {"}", NULL, CONF_TYPE_STORE, CONF_NOCFG, 0, 0, NULL},
OPT_FLAG("ordered-chapters", ordered_chapters, 0),
OPT_INTRANGE("chapter-merge-threshold", chapter_merge_threshold, 0, 0, 10000),