diff options
author | wm4 <wm4@nowhere> | 2016-09-06 20:09:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-06 20:09:56 +0200 |
commit | d4d8b3a4fcf8d50af9cef9766cfefc5538be28f4 (patch) | |
tree | 1eb69ef2876dcf541bab2018e733dbe1053a0fe3 /libmpv/opengl_cb.h | |
parent | 9f0e7bb9982eef36bf2f14fd750bbe6a359011ba (diff) | |
download | mpv-d4d8b3a4fcf8d50af9cef9766cfefc5538be28f4.tar.bz2 mpv-d4d8b3a4fcf8d50af9cef9766cfefc5538be28f4.tar.xz |
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.
Diffstat (limited to 'libmpv/opengl_cb.h')
0 files changed, 0 insertions, 0 deletions