fix(mpv): harden native initialization and logging

This commit is contained in:
edde746
2026-07-12 08:42:23 +02:00
parent eaa60cc2b5
commit 3d36ecf094
5 changed files with 75 additions and 4 deletions
@@ -387,10 +387,12 @@ class MpvPlayerCoreBase: NSObject {
return false
}
// 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"))
#if DEBUG
let defaultLogLevel = "v"
#else
let defaultLogLevel = "warn"
#endif
checkError(mpv_request_log_messages(mpv, defaultLogLevel))
configure()