Aspect ratio fixes

This commit is contained in:
Arkadiusz Fal
2022-07-11 18:21:03 +02:00
parent 79f801ea60
commit d3336b3ae1
4 changed files with 12 additions and 12 deletions

View File

@@ -45,6 +45,7 @@ final class MPVBackend: PlayerBackend {
networkStateTimer.start()
if isPlaying {
self.updatePlayerAspectRatio()
startClientUpdates()
} else {
stopControlsUpdates()
@@ -204,11 +205,9 @@ final class MPVBackend: PlayerBackend {
self.model.lastSkipped = segment
self.play()
self.model.aspectRatio = self.aspectRatio
}
} else {
self.play()
self.model.aspectRatio = self.aspectRatio
}
}
}