From f96dd88b41d5786afd181b833d62d1b1bcfcee10 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 9 Jan 2013 01:41:02 +0100 Subject: 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".) --- core/cfg-mplayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/cfg-mplayer.h') 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})), -- cgit v1.2.3