mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-16 23:12:12 +00:00
fix: update hardware decoding and Vulkan options in MPVPlayerViewController ios
This commit is contained in:
parent
9267636f62
commit
ab0fc039b9
1 changed files with 8 additions and 1 deletions
|
|
@ -203,12 +203,19 @@ final class MPVPlayerViewController: UIViewController {
|
||||||
checkError(mpv_set_option_string(mpv, "vo", "gpu-next"))
|
checkError(mpv_set_option_string(mpv, "vo", "gpu-next"))
|
||||||
checkError(mpv_set_option_string(mpv, "gpu-api", "vulkan"))
|
checkError(mpv_set_option_string(mpv, "gpu-api", "vulkan"))
|
||||||
checkError(mpv_set_option_string(mpv, "gpu-context", "moltenvk"))
|
checkError(mpv_set_option_string(mpv, "gpu-context", "moltenvk"))
|
||||||
checkError(mpv_set_option_string(mpv, "hwdec", "videotoolbox"))
|
checkError(mpv_set_option_string(mpv, "hwdec", "auto"))
|
||||||
|
checkError(mpv_set_option_string(mpv, "vulkan-swap-mode", "fifo"))
|
||||||
|
checkError(mpv_set_option_string(mpv, "vulkan-queue-count", "1"))
|
||||||
|
checkError(mpv_set_option_string(mpv, "vulkan-async-compute", "no"))
|
||||||
|
checkError(mpv_set_option_string(mpv, "vulkan-async-transfer", "no"))
|
||||||
|
checkError(mpv_set_option_string(mpv, "vulkan-disable-interop", "yes"))
|
||||||
checkError(mpv_set_option_string(mpv, "video-rotate", "no"))
|
checkError(mpv_set_option_string(mpv, "video-rotate", "no"))
|
||||||
checkError(mpv_set_option_string(mpv, "subs-match-os-language", "yes"))
|
checkError(mpv_set_option_string(mpv, "subs-match-os-language", "yes"))
|
||||||
checkError(mpv_set_option_string(mpv, "subs-fallback", "yes"))
|
checkError(mpv_set_option_string(mpv, "subs-fallback", "yes"))
|
||||||
checkError(mpv_set_option_string(mpv, "keep-open", "yes"))
|
checkError(mpv_set_option_string(mpv, "keep-open", "yes"))
|
||||||
checkError(mpv_set_option_string(mpv, "target-colorspace-hint", "yes"))
|
checkError(mpv_set_option_string(mpv, "target-colorspace-hint", "yes"))
|
||||||
|
checkError(mpv_set_option_string(mpv, "tone-mapping", "auto"))
|
||||||
|
checkError(mpv_set_option_string(mpv, "hdr-compute-peak", "no"))
|
||||||
|
|
||||||
checkError(mpv_initialize(mpv))
|
checkError(mpv_initialize(mpv))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue