fix(mpv): avoid forcing HDR colorspace hint

This commit is contained in:
edde746
2026-05-21 16:01:15 +02:00
parent 9dc3a1a1b1
commit 6a74ff083f
2 changed files with 6 additions and 6 deletions
@@ -417,7 +417,7 @@ class MpvPlayerCoreBase: NSObject {
setRawStringPropertyAsync(
"target-colorspace-hint",
value: enabled ? "yes" : "no",
value: enabled ? "auto" : "no",
completion: completion ?? { _ in }
)
@@ -596,7 +596,7 @@ class MpvPlayerCoreBase: NSObject {
#endif
checkError(mpv_set_option_string(mpv, "hwdec-codecs", "all"))
checkError(mpv_set_option_string(mpv, "hwdec-software-fallback", "yes"))
checkError(mpv_set_option_string(mpv, "target-colorspace-hint", "yes"))
checkError(mpv_set_option_string(mpv, "target-colorspace-hint", "auto"))
}
#if os(macOS)