tvOS fixes

This commit is contained in:
Arkadiusz Fal
2022-03-27 21:22:13 +02:00
parent 011ca5dac2
commit b9dfdeb23f
6 changed files with 154 additions and 67 deletions

View File

@@ -276,6 +276,13 @@ final class MPVBackend: PlayerBackend {
startClientUpdates()
onFileLoaded = nil
case MPV_EVENT_PLAYBACK_RESTART:
isLoadingVideo = false
onFileLoaded?()
startClientUpdates()
onFileLoaded = nil
case MPV_EVENT_UNPAUSE:
isLoadingVideo = false