diff options
author | wm4 <wm4@nowhere> | 2019-11-28 23:37:08 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-29 12:14:43 +0100 |
commit | 5083db91ebff2fa469d94520bd3e8e535da74b8d (patch) | |
tree | bb401b8fdcb1b939e2afe9468593f4a6113c822a /player/misc.c | |
parent | f73881fa10e3ba1e43d3a8b984379533c0c40284 (diff) | |
download | mpv-5083db91ebff2fa469d94520bd3e8e535da74b8d.tar.bz2 mpv-5083db91ebff2fa469d94520bd3e8e535da74b8d.tar.xz |
m_config: untangle new and old code somewhat
The original MPlayer m_config was essentially only responsible for
handling some command line parsing details, handling profiles, and
file-local options. And then there's the new mpv stuff (that stuff was
regretfully written by me), which is mostly associated with making
things thread-safe (includes things like making it all library-safe,
instead of stuffing all option data into global variables).
This commit tries to separate them some more. For example,
m_config_shadow (the thread-safe thing) now does not need access to
m_config anymore. m_config can hopefully be reduced to handling only the
"old" mplayer-derived mechanisms.
Diffstat (limited to 'player/misc.c')
0 files changed, 0 insertions, 0 deletions