diff options
author | wm4 <wm4@nowhere> | 2016-09-06 11:11:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-06 11:11:36 +0200 |
commit | 9ab0f60d444984581e188b9987faed9b80eda7e2 (patch) | |
tree | 8317a840dfa7d50ac0d604ecefa115060d3202a2 /bootstrap.py | |
parent | e5cefa346da00feb01a2bb76be19a9d80e191a12 (diff) | |
download | mpv-9ab0f60d444984581e188b9987faed9b80eda7e2.tar.bz2 mpv-9ab0f60d444984581e188b9987faed9b80eda7e2.tar.xz |
vo_opengl: simplify option handling
Instead of copying the options around... just don't. video.c now has
full control over when options are updated. (It still gets notified from
outside, but it decides when the updated options are copied: when
m_config_cache_update() is called.) So there's no need for tricky
stuff, and it can be simplified a bit.
Also change lcms.c. We could do it like video.c, and get the options
from the global config store. But it seems simpler to just provide a
pointer to an option struct, which is arbitrarily mutated from the
outside (from the perspective of lcms.c).
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions