summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-28 21:59:39 +0100
committerwm4 <wm4@nowhere>2019-11-29 12:14:43 +0100
commitf73881fa10e3ba1e43d3a8b984379533c0c40284 (patch)
tree7bb16052e4d332586d958d09a12cd419395c1bd7 /bootstrap.py
parent591494b271f17c4bfae0cfb860ae12bdad98a2ca (diff)
downloadmpv-f73881fa10e3ba1e43d3a8b984379533c0c40284.tar.bz2
mpv-f73881fa10e3ba1e43d3a8b984379533c0c40284.tar.xz
m_config: allow writing options through m_config_cache
This will allow any other threads to write to the global option data in a safe way. The typical example for this is the fullscreen option, which needs to be written by VO (or even some other thing running completely separate from the main thread). We have a complicated and annoying contraption which gets the value updated on the main thread, and this function will help get rid of it. As of this commit, this doesn't really work yet, because he main thread uses its own weird copy of the option data.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions