diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2015-03-07 12:32:19 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-03-11 12:49:39 +0900 |
commit | f84ca3a516d1d34cba2e9ef9bdbce95c7ebf399f (patch) | |
tree | 3c39ac9a4b1bc4006410cf35f3370fcd9a7b15b7 /video/out/cocoa/events_view.m | |
parent | 324a40d2e1919c87389e285d94045edd00778428 (diff) | |
download | mpv-f84ca3a516d1d34cba2e9ef9bdbce95c7ebf399f.tar.bz2 mpv-f84ca3a516d1d34cba2e9ef9bdbce95c7ebf399f.tar.xz |
vo_opengl/x11: fix automatic ICC profile loading
mpv would attempt to load ICC profiles several times during VO init
even if no window is displayed. This potentially causes it to load
a profile for a different screen than it is going to be displayed
on, thereby invalidating the profile cache and rebuilding the LUT
every single time.
It would not unload a previously loaded profile when the video
window is moved to a display without an installed profile.
Fix these issues and tweak the log messages a little.
(cherry picked from commit 1bab7f69aeb1ee80fdd2f75d7658cd5fef7ee2e3)
Diffstat (limited to 'video/out/cocoa/events_view.m')
0 files changed, 0 insertions, 0 deletions