Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion App/VideoPreviewWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ struct VideoPreviewView: View {
}
}

private static func extractAudio(from src: URL, to dest: URL) async -> Bool {
nonisolated private static func extractAudio(from src: URL, to dest: URL) async -> Bool {
let asset = AVURLAsset(url: src)
guard let tracks = try? await asset.loadTracks(withMediaType: .audio), !tracks.isEmpty else { return false }
try? FileManager.default.removeItem(at: dest)
Expand Down
Loading