summaryrefslogtreecommitdiffstats
path: root/common/common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-06 11:11:36 +0200
committerwm4 <wm4@nowhere>2016-09-06 11:11:36 +0200
commit9ab0f60d444984581e188b9987faed9b80eda7e2 (patch)
tree8317a840dfa7d50ac0d604ecefa115060d3202a2 /common/common.h
parente5cefa346da00feb01a2bb76be19a9d80e191a12 (diff)
downloadmpv-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 'common/common.h')
0 files changed, 0 insertions, 0 deletions