summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-03-29 19:38:39 +0000
committerUoti Urpala <uau@mplayer2.org>2011-05-02 00:36:20 +0300
commite617653265aeb63cc555761b685ca98a6e2cb80f (patch)
treeb02d5558d78215431c46528501f13f0ffb56829c /cfg-mplayer.h
parent673a2c759788a7d3df1e0a6f9df929057724c449 (diff)
downloadmpv-e617653265aeb63cc555761b685ca98a6e2cb80f.tar.bz2
mpv-e617653265aeb63cc555761b685ca98a6e2cb80f.tar.xz
options: Add dummy -shuffle option to show it in -list-options
Add dummy -shuffle and -noshuffle options so they appear in -list-options output. These features are not implemented as options; rather they're features of the command line parser. Also add the CONF_NOCFG flag to the existing playlist option, which is a similar placeholder for a command line parser feature. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33147 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33148 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 216d244371..604a2f1255 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -278,7 +278,9 @@ const m_option_t mplayer_opts[]={
OPT_FLAG_CONSTANTS("noloop", loop_times, 0, 0, -1),
OPT_INTRANGE("loop", loop_times, 0, -1, 10000),
- {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"playlist", NULL, CONF_TYPE_STRING, CONF_NOCFG, 0, 0, NULL},
+ {"shuffle", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL},
+ {"noshuffle", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL},
OPT_MAKE_FLAGS("ordered-chapters", ordered_chapters, 0),
OPT_INTRANGE("chapter-merge-threshold", chapter_merge_threshold, 0, 0, 10000),