mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Show asset loading error from AVPlayer
This commit is contained in:
@@ -459,7 +459,9 @@ final class AVPlayerBackend: PlayerBackend {
|
||||
self.model.play()
|
||||
}
|
||||
case .failed:
|
||||
self.model.playerError = item.error
|
||||
DispatchQueue.main.async {
|
||||
self.model.playerError = item.error
|
||||
}
|
||||
|
||||
default:
|
||||
return
|
||||
|
Reference in New Issue
Block a user