tvOS fixes

This commit is contained in:
Arkadiusz Fal
2022-03-27 21:22:13 +02:00
parent a09fc36ad3
commit 9f29b6be5c
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