diff options
author | Akemi <der.richter@gmx.de> | 2018-03-08 23:19:07 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-03-11 22:44:26 -0700 |
commit | 047eb1b914eb07a79d1a4595d2641290638609a2 (patch) | |
tree | c02a7332e4429cc3dee8d8917ad877c6c5ee948a /video/out/cocoa_cb_common.swift | |
parent | ef2225c4a2ba6206a54be55227bf97606cc90be5 (diff) |
cocoa-cb: remove unneeded icc-profile-auto check
with the new libmpv API it's not necessary to check for this property
anymore since libmpv will only use the provided profile when it is
needed.
Diffstat (limited to 'video/out/cocoa_cb_common.swift')
-rw-r--r-- | video/out/cocoa_cb_common.swift | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/cocoa_cb_common.swift b/video/out/cocoa_cb_common.swift index 93f941d473..b5ba9ee0c8 100644 --- a/video/out/cocoa_cb_common.swift +++ b/video/out/cocoa_cb_common.swift @@ -237,9 +237,7 @@ class CocoaCB: NSObject { } func updateICCProfile() { - if mpv.getBoolProperty("icc-profile-auto") { - mpv.setRenderICCProfile(window.screen!.colorSpace!) - } + mpv.setRenderICCProfile(window.screen!.colorSpace!) layer.colorspace = window.screen!.colorSpace!.cgColorSpace! } |