1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00
mpv/common
wm4 50008adf4a options: handle suffixes like -add in a more generic way
This affects options like --vf or --display-tags. These used a "*"
suffix to match all options starting with a specific name, and handled
the rest in the option parser. Change this to remove the "*" special
case, and require every option parser to declare a list of allowed
suffixes via m_option_type.actions.

The new way is conceptually simpler, because we don't have to account
for the "*" in a bunch of places anymore, and instead everything is
centrally handled in the CLI part of the option parser, where it's
actually needed.

It automatically enables suffixes like -add for a bunch of other
stringlist options.
2017-06-26 21:07:00 +02:00
..
av_common.c demux_raw: drop "mp-rawvideo" use 2017-05-20 11:43:57 +02:00
av_common.h ad_lavc, vd_lavc: move mpv->lavc decoder parameter setup to common code 2017-01-25 08:24:19 +01:00
av_log.c av_log: mark as almost LGPL 2017-05-05 07:15:17 +02:00
av_log.h player: fatal error if linked and compiled FFmpeg versions mismatch 2016-07-01 20:56:59 +02:00
codecs.c options: drop deprecated --vd/--ad codecs selection features 2017-01-19 15:38:58 +01:00
codecs.h options: deprecate codec family selection in --vd/--ad 2016-12-23 18:12:29 +01:00
common.c Initial Android support 2016-02-10 21:29:36 +01:00
common.h common.h: change license to LGPL 2017-04-21 08:49:25 +02:00
encode_lavc.c options: handle suffixes like -add in a more generic way 2017-06-26 21:07:00 +02:00
encode_lavc.h encode_lavc: move from GPL 2+ to LGPL 2.1+. 2017-06-13 14:22:15 -04:00
encode.h encode_lavc: move from GPL 2+ to LGPL 2.1+. 2017-06-13 14:22:15 -04:00
global.h m_config: introduce basic mechanism to synchronize global option updates 2016-09-02 15:50:40 +02:00
msg_control.h player: make sure version information is always included in --log-file 2017-05-22 18:31:39 +02:00
msg.c options: unbreak -v 2017-06-23 21:04:41 +02:00
msg.h msg.c/h: partially change license to LGPL 2017-05-05 06:53:23 +02:00
playlist.c playlist: improve shuffle algorithm 2016-03-20 19:51:22 +01:00
playlist.h
recorder.c player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
recorder.h player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
tags.c
tags.h
version.c common: use char array for version string 2016-09-06 20:08:44 +02:00