fix(tvos): update mpvkit audio passthrough

This commit is contained in:
edde746
2026-06-13 10:24:15 +02:00
parent 4f422f1485
commit 3c43874342
11 changed files with 30 additions and 30 deletions
@@ -352,11 +352,10 @@ class MpvPlayerCoreBase: NSObject {
return false
}
#if DEBUG
checkError(mpv_request_log_messages(mpv, "info"))
#else
checkError(mpv_request_log_messages(mpv, "warn"))
#endif
// TEMP: always "v" (tvOS builds in release) so the avfoundation VO's
// osd-perf timing lines show up restore the DEBUG/warn split after the
// subtitle-timing investigation.
checkError(mpv_request_log_messages(mpv, "v"))
var layer = Int64(Int(bitPattern: Unmanaged.passUnretained(renderLayer).toOpaque()))
checkError(mpv_set_option(mpv, "wid", MPV_FORMAT_INT64, &layer))