From 047eb1b914eb07a79d1a4595d2641290638609a2 Mon Sep 17 00:00:00 2001 From: Akemi Date: Thu, 8 Mar 2018 23:19:07 +0100 Subject: 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. --- video/out/cocoa_cb_common.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'video') 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! } -- cgit v1.2.3