1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-05 22:52:18 +00:00
mpv/etc
wm4 88849fd1d4 commands: add choice type to input commands
Allow using the choice type (as it used for command line) for arguments
of input commands. Change the magic integer arguments of some commands
(like seek) to use choices instead. The old numeric values are still
allowed (but only those which made sense before, not arbitrary
integers).

In order to do this, remove the input.c specific types (like
MP_CMD_ARG_INT) completely and specify commands using the m_option
types.

Also, add the special choice "-" to some arguments. It's supposed to
signify the default value, so arguments can be easily skipped. Maybe the
choice option should recognize this and not change the previous value,
but we'll leave this for later.

For now, leave compatibility integer values for all new choice
arguments, e.g. "0" maps to 0. We could let the choice option type do
this automatically, but we don't, because we want user input values and
internal mplayer values decoupled in general. The compatibility options
will be removed one day, too.

Also, remove optional args for strings - would require either annoying
additional code, or copying strings twice. It's not used, so remove it.
2012-10-12 10:10:32 +02:00
..
codecs.conf ad_dvdpcm: add back PCM decoder for DVD 2012-09-18 21:08:14 +02:00
encoding-example-profiles.conf encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
example.conf Remove VESA/FBDEV remains, clean up example.conf 2012-09-18 21:04:46 +02:00
input.conf commands: add choice type to input commands 2012-10-12 10:10:32 +02:00
inttypes.h
mplayer.desktop etc/mplayer.desktop: revise desktop file 2011-07-06 09:28:04 +03:00
mplayer.ico
mplayer.xpm