mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix properties access
This commit is contained in:
parent
47d68d7948
commit
59e5fcb37d
@ -488,7 +488,7 @@ final class AVPlayerBackend: PlayerBackend {
|
||||
if self.model.activeBackend == .appleAVPlayer,
|
||||
self.isAutoplaying(playerItem)
|
||||
{
|
||||
if model.aspectRatio != aspectRatio {
|
||||
if self.model.aspectRatio != self.aspectRatio {
|
||||
self.model.updateAspectRatio()
|
||||
}
|
||||
|
||||
@ -644,7 +644,7 @@ final class AVPlayerBackend: PlayerBackend {
|
||||
self.model.objectWillChange.send()
|
||||
|
||||
if player.rate != Float(self.model.currentRate) {
|
||||
if model.avPlayerUsesSystemControls {
|
||||
if self.model.avPlayerUsesSystemControls {
|
||||
self.model.currentRate = Double(player.rate)
|
||||
} else {
|
||||
player.rate = Float(self.model.currentRate)
|
||||
|
Loading…
Reference in New Issue
Block a user