From 346f4414a04ad7272941886dc987fb5db8fd6ed0 Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Wed, 18 Sep 2024 09:36:09 +0200 Subject: [PATCH] fix bad rebase --- ios/Video/RCTVideo.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Video/RCTVideo.swift b/ios/Video/RCTVideo.swift index 45d8e0d775..ddc33237d3 100644 --- a/ios/Video/RCTVideo.swift +++ b/ios/Video/RCTVideo.swift @@ -601,8 +601,8 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH _localSourceEncryptionKeyScheme = keyScheme } - func playerItemPrepareText(asset: AVAsset!, assetOptions: NSDictionary?, uri: String) async -> AVPlayerItem { - if self._textTracks.isEmpty == true || (uri.hasSuffix(".m3u8")) { + func playerItemPrepareText(source: VideoSource, asset: AVAsset!, assetOptions: NSDictionary?, uri: String) async -> AVPlayerItem { + if source.textTracks.isEmpty == true || uri.hasSuffix(".m3u8") { return await self.playerItemPropegateMetadata(AVPlayerItem(asset: asset)) }