Fix rate button

This commit is contained in:
Arkadiusz Fal
2022-05-20 23:20:18 +02:00
parent 7e7aca08a0
commit a4fb39a0d7
2 changed files with 12 additions and 5 deletions

View File

@@ -217,7 +217,7 @@ final class MPVBackend: PlayerBackend {
}
func setRate(_ rate: Float) {
client.setDoubleAsync("speed", Double(rate))
client?.setDoubleAsync("speed", Double(rate))
}
func closeItem() {}