Improve AVPlayer performance

Fix updating aspect ratio

Fix #170
This commit is contained in:
Arkadiusz Fal
2022-08-13 16:11:07 +02:00
parent a347474437
commit e609e90165
4 changed files with 35 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ final class MPVBackend: PlayerBackend {
networkStateTimer.start()
if isPlaying {
self.updatePlayerAspectRatio()
self.model.updateAspectRatio()
startClientUpdates()
} else {
stopControlsUpdates()