summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-20 20:50:01 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:35 +0200
commit4cb264a3ff35cd1dcd8a41f87fb87791920d5156 (patch)
treebc8e4f3b1b1cec8915923207064746cc98179933 /osdep
parent707b404820a56ca3dfa22fc5f18e68186dbae51d (diff)
downloadmpv-4cb264a3ff35cd1dcd8a41f87fb87791920d5156.tar.bz2
mpv-4cb264a3ff35cd1dcd8a41f87fb87791920d5156.tar.xz
m_config: remove an old temporary hack
Actually rewrite most of the option management code. This affects how options are allocated, and how thread-safe access to them is done. One thing that is nicer is that creating m_config_cache does not need to ridiculously recreate and store the entire option list again. Instead, option metadata and option storage are now separated. m_config contains the metadata, and m_config_data all or parts of the actual option values. (m_config_cache simply uses the metadata part of m_config, which is immutable after creation.) The mentioned hack was introduced in commit 1a2319f3e4cc4, and is the global state around g_group_mutex. Although it was "benign" global state, it's good that it's finally removed.
Diffstat (limited to 'osdep')
0 files changed, 0 insertions, 0 deletions