mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 10:17:31 +00:00
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
This commit is contained in:
parent
673a2c7597
commit
e617653265
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user