mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 08:32:00 +00:00
fxied macos build????????
This commit is contained in:
parent
ef8f42de0f
commit
46962385b2
1 changed files with 2 additions and 0 deletions
|
|
@ -300,9 +300,11 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if os(iOS)
|
||||||
if #available(iOS 16.0, *) {
|
if #available(iOS 16.0, *) {
|
||||||
playerViewController.allowsVideoFrameAnalysis = false
|
playerViewController.allowsVideoFrameAnalysis = false
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if let url = subtitlesURL, !url.isEmpty {
|
if let url = subtitlesURL, !url.isEmpty {
|
||||||
subtitlesLoader.load(from: url)
|
subtitlesLoader.load(from: url)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue