Skip to content
Merged
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
4 changes: 1 addition & 3 deletions Sources/InContextCore/Importers/VideoImporterMac.swift
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,9 @@ extension VideoImporter: Importer {
presetName: preset) else {
throw InContextError.internalInconsistency("Failed to create export session.")
}
exportSession.outputFileType = outputFileType
exportSession.outputURL = outputURL

// Convert the video to the output file type and export it to the output URL.
await exportSession.export()
try await exportSession.export(to: outputURL, as: outputFileType)
}

}
Expand Down