1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-30 15:29:56 +00:00
mpv/options
wm4 6b4f560f3c vo, ao: disable positional parameter suboptions
Positional parameters cause problems because they can be ambiguous with
flag options. If a flag option is removed or turned into a non-flag
option, it'll usually be interpreted as value for the first sub-option
(as positional parameter), resulting in very confusing error messages.
This changes it into a simple "option not found" error.

I don't expect that anyone really used positional parameters with --vo
or --ao. Although the docs for --ao=pulse seem to encourage positional
parameters for the host/sink options, which means it could possibly
annoy some PulseAudio users.

--vf and --af are still mostly used with positional parameters, so this
must be a configurable option in the option parser.
2016-09-01 14:21:32 +02:00
..
m_config.c m_config: remove an unused function 2016-08-31 22:22:21 +02:00
m_config.h m_config: remove an unused function 2016-08-31 22:22:21 +02:00
m_option.c vo, ao: disable positional parameter suboptions 2016-09-01 14:21:32 +02:00
m_option.h vo, ao: disable positional parameter suboptions 2016-09-01 14:21:32 +02:00
m_property.c m_property: remove pointless explicitly clamping 2016-08-31 15:31:51 +02:00
m_property.h vo_opengl: refactor performance data properties 2016-06-08 22:11:38 +02:00
options.c m_option: replace --no-video-aspect alias 2016-08-31 22:17:21 +02:00
options.h options: make mp_vo_opts options an actual sub-option group 2016-08-30 23:50:57 +02:00
parse_commandline.c options: remove unneeded hack from command line parser 2015-04-23 21:08:19 +02:00
parse_commandline.h Update license headers 2015-04-13 12:10:01 +02:00
parse_configfile.c options: clarify quoting for option values starting with % 2015-04-17 16:06:43 +02:00
parse_configfile.h Update license headers 2015-04-13 12:10:01 +02:00
path.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
path.h player: make watch later/resume work when "playing" directories 2016-01-06 22:40:55 +01:00