fix duplicated share button

fixes #691

add `--initial-audio-sync=<yes|no>` to MPV settings. Might fix #690 but needs to be toggled by the user. We leave the standard settings.

Also added links to the icons on macOS.
This commit is contained in:
Toni Förster
2024-05-23 19:02:13 +02:00
committed by Arkadiusz Fal
parent b966f4509a
commit 9e05909659
3 changed files with 42 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ final class MPVClient: ObservableObject {
checkError(mpv_set_option_string(mpv, "sub-scale", Defaults[.captionsFontScaleSize]))
checkError(mpv_set_option_string(mpv, "sub-color", Defaults[.captionsFontColor]))
checkError(mpv_set_option_string(mpv, "user-agent", UserAgentManager.shared.userAgent))
checkError(mpv_set_option_string(mpv, "initial-audio-sync", Defaults[.mpvInitialAudioSync] ? "yes" : "no"))
// GPU //