Selaa lähdekoodia

Subtitle not yet available

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 vuotta sitten
vanhempi
commit
12b885443c
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

+ 2 - 0
iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

@@ -115,7 +115,9 @@ class NCPlayer: NSObject {
         player = AVPlayer(url: self.url)
         playerToolBar?.show()
         playerToolBar?.setMetadata(self.metadata)
+#if MFFFLIB
         setUpForSubtitle()
+#endif
 
         if metadata.livePhoto {
             player?.isMuted = false