1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-08 07:57:19 +00:00

-rnd --> -shuffle

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8453 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2002-12-15 04:47:32 +00:00
parent b987127e0e
commit caf9c87669
2 changed files with 6 additions and 6 deletions

View File

@ -281,13 +281,13 @@ Display less output and status messages.
.B \-really\-quiet \ \ .B \-really\-quiet \ \
Display even less output and status messages. Display even less output and status messages.
.TP .TP
.B \-rnd \ \
Play files in random order.
.TP
.B \-sdp .B \-sdp
Specifies that the input file is a SDP ('Session Description Protocol') Specifies that the input file is a SDP ('Session Description Protocol')
file that describes an RTP session (see http://www.live.com/mplayer/). file that describes an RTP session (see http://www.live.com/mplayer/).
.TP .TP
.B \-shuffle \ \
Play files in random order.
.TP
.B \-skin <skin\ directory> (BETA CODE) .B \-skin <skin\ directory> (BETA CODE)
Load skin from the given directory (WITHOUT path name). Load skin from the given directory (WITHOUT path name).
@ -1282,7 +1282,7 @@ setup.
.TP .TP
.B \-noslices .B \-noslices
Disable drawing video by 16-pixel height slices/\:bands, instead draws the Disable drawing video by 16-pixel height slices/\:bands, instead draws the
while frame in a single run. whole frame in a single run.
May be faster or slower, depending on card/\:cache. May be faster or slower, depending on card/\:cache.
It has effect only with libmpeg2 and libavcodec codecs. It has effect only with libmpeg2 and libavcodec codecs.
.TP .TP

View File

@ -224,12 +224,12 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv)
pt->loop = l; pt->loop = l;
tmp = 1; tmp = 1;
} }
} else if(strcasecmp(opt,"rnd") == 0) { } else if(strcasecmp(opt,"shuffle") == 0) {
if(last_entry && last_entry->child) if(last_entry && last_entry->child)
last_entry->flags |= PLAY_TREE_RND; last_entry->flags |= PLAY_TREE_RND;
else else
last_parent->flags |= PLAY_TREE_RND; last_parent->flags |= PLAY_TREE_RND;
} else if(strcasecmp(opt,"nornd") == 0) { } else if(strcasecmp(opt,"noshuffle") == 0) {
if(last_entry && last_entry->child) if(last_entry && last_entry->child)
last_entry->flags &= ~PLAY_TREE_RND; last_entry->flags &= ~PLAY_TREE_RND;
else else