浏览代码

Update NCPlayer.swift

Marino Faggiana 1 年之前
父节点
当前提交
57a7a53f26
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

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

@@ -169,13 +169,6 @@ class NCPlayer: NSObject {
 
         NCManageDatabase.shared.addVideo(metadata: metadata, position: position)
     }
-
-    func snapshot() {
-
-        if let player = player, let width = width, let height = height {
-            player.saveVideoSnapshot(at: fileNamePreviewLocalPath, withWidth: Int32(width), andHeight: Int32(height))
-        }
-    }
 }
 
 extension NCPlayer: VLCMediaPlayerDelegate {