diff options
author | wm4 <wm4@nowhere> | 2013-01-09 01:41:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-09 01:48:40 +0100 |
commit | f96dd88b41d5786afd181b833d62d1b1bcfcee10 (patch) | |
tree | 6a9a1103cf8691fcf07cbc38e7d1fb49c5869349 /core/cfg-mplayer.h | |
parent | c45132cb92f95e56b0c0e6380c9c83bc4d92c4f0 (diff) | |
download | mpv-f96dd88b41d5786afd181b833d62d1b1bcfcee10.tar.bz2 mpv-f96dd88b41d5786afd181b833d62d1b1bcfcee10.tar.xz |
mplayer: make --loop loop the playlist instead of each playlist entry
This is simpler and more useful. We could add a new switch for the old
functionality, but that would probably be more confusing than helpful.
When passing only a single file to the command line, this commit
shouldn't change behavior.
(Classic mplayer provided both features by duplicating the loop
functionality in the "playtree".)
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r-- | core/cfg-mplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index 9121359b02..cbe705ebc4 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -667,7 +667,7 @@ const m_option_t mplayer_opts[]={ {"leak-report", "", CONF_TYPE_PRINT, 0, 0, 0, (void*)1}, OPT_FLAG_CONSTANTS("no-loop", loop_times, 0, 0, -1), - OPT_CHOICE_OR_INT("loop", loop_times, M_OPT_LOCAL, 1, 10000, + OPT_CHOICE_OR_INT("loop", loop_times, CONF_GLOBAL, 1, 10000, ({"no", -1}, {"0", -1}, {"inf", 0})), |