1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-17 04:22:41 +00:00
mpv/options
wm4 8150b8552b options: add mechanism to add sub-options from component lists
There are a lot of ad-hoc component lists in mpv: for example the stream
and demuxer lists. It doesn't seem to make sense to add any abstractions
around it since they are completely trivial and have very specific
probing mechanisms and so on, so they will remain ad-hoc.

This commits add a way to let these add arbitrary per-component options,
without giving up the ad-hoc way, and without having to dump them into
options.c with lots of ifdeffery (like it was done until now).

Also see next commit.
2020-01-04 19:45:50 +01:00
..
m_config.c options: add mechanism to add sub-options from component lists 2020-01-04 19:45:50 +01:00
m_config.h player: change m_config to use new option handling mechanisms 2019-11-29 12:49:15 +01:00
m_option.c m_option: fix runtime changing of --audio-channels 2019-12-27 17:44:33 +01:00
m_option.h options: add mechanism to add sub-options from component lists 2020-01-04 19:45:50 +01:00
m_property.c
m_property.h
options.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
options.h stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
parse_commandline.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
parse_commandline.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
parse_configfile.c
parse_configfile.h
path.c options/path: fix url detection per RFC3986 2019-04-05 20:48:24 +03:00
path.h path: don't access global option struct 2018-05-24 19:56:35 +02:00