diff options
author | wm4 <wm4@nowhere> | 2013-08-19 00:50:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-19 01:05:49 +0200 |
commit | 4579cce768d0c9c84dc5f318b7189ffb03b49ece (patch) | |
tree | 86ddbbbeb92e4e0c78e72d9d393c27c91dcc9580 /mpvcore/options.h | |
parent | 2508f38a92f8863cfc156b2b7310512863db7d4e (diff) | |
download | mpv-4579cce768d0c9c84dc5f318b7189ffb03b49ece.tar.bz2 mpv-4579cce768d0c9c84dc5f318b7189ffb03b49ece.tar.xz |
mplayer: reshuffle on every loop if --loop and --shuffle are used
See github issue #194.
Unfortunately, this breaks the property that going back in the playlist
always works as expected. This changes, because the playlist_prev
command will work on the reshuffled playlist, instead of loading the
previously played files in order. If this ever becomes an issue, I
might revert this commit.
Diffstat (limited to 'mpvcore/options.h')
-rw-r--r-- | mpvcore/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/options.h b/mpvcore/options.h index 9309cc1a85..8487c84cc5 100644 --- a/mpvcore/options.h +++ b/mpvcore/options.h @@ -81,6 +81,7 @@ typedef struct MPOpts { char *stream_capture; char *stream_dump; int loop_times; + int shuffle; int ordered_chapters; int chapter_merge_threshold; double chapter_seek_threshold; |