summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2018-03-08 23:19:07 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-03-11 22:44:26 -0700
commit047eb1b914eb07a79d1a4595d2641290638609a2 (patch)
treec02a7332e4429cc3dee8d8917ad877c6c5ee948a /video
parentef2225c4a2ba6206a54be55227bf97606cc90be5 (diff)
downloadmpv-047eb1b914eb07a79d1a4595d2641290638609a2.tar.bz2
mpv-047eb1b914eb07a79d1a4595d2641290638609a2.tar.xz
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')
-rw-r--r--video/out/cocoa_cb_common.swift4
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!
}