1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 14:56:55 +00:00
mpv/options
wm4 d4d8b3a4fc demux: do not access global options
Don't access MPOpts directly, and always use the new m_config.h
functions for accessing them in a thread-safe way.

The goal is eventually removing the mpv_global.opts field, and the
demuxer/stream-layer specific hack that copies MPOpts to deal with
thread-safety issues.

This moves around a lot of options. For one, we often change the
physical storage location of options to make them more localized,
but these changes are not user-visible (or should not be). For
shared options on the other hand it's better to do messy direct
access, which is worrying as in that somehow renaming an option
or changing its type would break code reading them manually,
without causing a compilation error.
2016-09-06 20:09:56 +02:00
..
m_config.c m_config: avoid accidentally causing deprecation warnings 2016-09-05 21:26:39 +02:00
m_config.h config: allow profile forward-references in default profile 2016-09-02 21:21:47 +02:00
m_option.c vo_opengl: deprecate sub-options, add them as global options 2016-09-02 21:21:47 +02:00
m_option.h options: add automagic hack for handling sub-option deprecations 2016-09-05 21:26:39 +02:00
m_property.c command: add options to property list 2016-09-01 20:00:43 +02:00
m_property.h command: add options to property list 2016-09-01 20:00:43 +02:00
options.c demux: do not access global options 2016-09-06 20:09:56 +02:00
options.h demux: do not access global options 2016-09-06 20:09:56 +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 config: allow profile forward-references in default profile 2016-09-02 21:21:47 +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