mirror of https://github.com/mpv-player/mpv
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:
parent
ef2225c4a2
commit
047eb1b914
|
@ -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!
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue