From c955549204c433abd1a3c8783f1b988e29315337 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 5 Sep 2012 02:17:13 +0200 Subject: options: change --loop option, and extend choice option type The --loop option takes slightly different parameters now. --loop=0 used to mean looping forever. Now it means looping is disabled (this is more logical: 2 means playing 2 more times, 1 means playing 1 more time, and 0 should mean playing not again). Now --loop=inf must be used to enable looping forever. Extend choice types to allow an optional range of integers as values. If CONF_RANGE is added to the flags of a m_option_type_choice option, m_option.min/max specify a range of allowed integer values. This can be used to remove "special" values from make integer range options. These special values are unintuitive, and sometimes expose mplayer internals to the user. The (internal) choice values can be freely mixed with the specified integer value range. If there are overlaps, the choice values are preferred for conversion to/from strings. Also make sure the extension to choice options works with properties. Add the ability to step choice properties downwards, instead of just upwards. --- DOCS/man/en/options.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'DOCS/man/en/options.rst') diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 4e8ee56d68..cf622e5c31 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -1142,8 +1142,9 @@ *NOTE*: This option is obsolete now that MPlayer has OpenDML support. ---loop= - Loops movie playback times. 0 means forever. +--loop= + Loops playback times. ``inf`` means forever and ``off`` disables + looping. --mc= Maximum A-V sync correction per frame (in seconds) -- cgit v1.2.3