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 f8d240ad86
commit 0180d13d4a
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()