mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Aspect ratio improvements
This commit is contained in:
@@ -12,7 +12,7 @@ final class AppleAVPlayerViewController: UIViewController {
|
||||
|
||||
let persistenceController = PersistenceController.shared
|
||||
|
||||
#if !os(tvOS)
|
||||
#if os(iOS)
|
||||
var aspectRatio: Double? {
|
||||
let ratio = Double(playerView.videoBounds.width) / Double(playerView.videoBounds.height)
|
||||
|
||||
|
Reference in New Issue
Block a user