Fix VLCKit 4 parse API rename for iOS Release build.
EOF
This commit is contained in:
parent
a38824db27
commit
878aa86121
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ final class VLCPlayerController: NSObject, ObservableObject, VLCMediaPlayerDeleg
|
|||
media.addOption(":freetype-rel-fontsize=\(Self.subtitleRelFontSize)")
|
||||
media.addOption(":freetype-bold=1")
|
||||
mediaPlayer.media = media
|
||||
_ = media.parseWithOptions(VLCMediaParsingOptions(rawValue: 0x02 | 0x08)) // network + fetchLocal
|
||||
_ = media.parse(options: VLCMediaParsingOptions(rawValue: 0x02 | 0x08)) // network + fetchLocal
|
||||
mediaPlayer.play()
|
||||
applySubtitleStyle()
|
||||
if startMs > 2000 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue