mpv/options
wm4 582f3f7cc0 playlist: change from linked list to an array
Although a linked list was ideal at first, there are cases where it
sucks, and became increasingly awkward (with the mpv command API
preferring integer indexes to access the list). In future, we probably
want to add more playlist-related functionality, so better change it to
an array now.

An array isn't always ideal either. Since playlist entries are still
separate objects (because in some cases you need a stable "iterator" to
it), but you still need to efficiently get the next/previous playlist
entry, there's a pl_index field, that needs to be maintained. E.g.
adding an entry at the start of the playlist => update the pl_index
field for all other entries. Well, it's not really worth to do something
more complicated to avoid these things.

This commit is probably buggy as shit. It's not like I bothered to test
everything. That's _your_ role.
2019-12-28 21:32:15 +01:00
..
m_config.c m_config: remove change callback before unintialization 2019-11-30 17:33:29 +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: fix filter list comparison (again) 2019-12-18 06:49:48 +01:00
m_property.c command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
m_property.h command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
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 options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
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