1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 02:22:19 +00:00

mac/remote: fix devision by 0

This commit is contained in:
der richter 2024-03-23 23:57:03 +01:00
parent 5ab3060961
commit 6d767537d4

View File

@ -45,7 +45,7 @@ class RemoteCommandCenter: NSObject {
var isPaused: Bool = false { didSet { updateInfoCenter() } }
var duration: Double = 0 { didSet { updateInfoCenter() } }
var position: Double = 0 { didSet { updateInfoCenter() } }
var rate: Double = 0 { didSet { updateInfoCenter() } }
var rate: Double = 1 { didSet { updateInfoCenter() } }
var title: String = "" { didSet { updateInfoCenter() } }
var chapter: String? { didSet { updateInfoCenter() } }
var album: String? { didSet { updateInfoCenter() } }