mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-24 12:08:05 +00:00
wip
This commit is contained in:
@@ -186,6 +186,12 @@ final class MPVLayerRenderer {
|
||||
checkError(mpv_set_option_string(handle, "hwdec-codecs", "all"))
|
||||
checkError(mpv_set_option_string(handle, "hwdec-software-fallback", "yes"))
|
||||
|
||||
// HDR passthrough - signal content colorspace to display system
|
||||
// This prevents tone-mapping and allows HDR content to pass through
|
||||
#if os(tvOS)
|
||||
checkError(mpv_set_option_string(handle, "target-colorspace-hint", "yes"))
|
||||
#endif
|
||||
|
||||
// Subtitle and audio settings
|
||||
checkError(mpv_set_option_string(mpv, "subs-match-os-language", "yes"))
|
||||
checkError(mpv_set_option_string(mpv, "subs-fallback", "yes"))
|
||||
|
||||
Reference in New Issue
Block a user