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.
This commit is contained in:
Akemi 2018-03-08 23:19:07 +01:00 committed by Kevin Mitchell
parent ef2225c4a2
commit 047eb1b914
1 changed files with 1 additions and 3 deletions

View File

@ -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!
}