1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 20:52:05 +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 \ \
Display even less output and status messages.
.TP
.B \-rnd \ \
Play files in random order.
.TP
.B \-sdp
Specifies that the input file is a SDP ('Session Description Protocol')
file that describes an RTP session (see http://www.live.com/mplayer/).
.TP
.B \-shuffle \ \
Play files in random order.
.TP
.B \-skin <skin\ directory> (BETA CODE)
Load skin from the given directory (WITHOUT path name).
@ -1282,7 +1282,7 @@ setup.
.TP
.B \-noslices
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.
It has effect only with libmpeg2 and libavcodec codecs.
.TP

View File

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