Skip to content

Commit

Permalink
Typo correction
Browse files Browse the repository at this point in the history
  • Loading branch information
tilltue committed Aug 17, 2019
1 parent f598798 commit ce21a10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public struct TLPHAsset {
//This method was one of them.
public func exportVideoFile(options: PHVideoRequestOptions? = nil,
outputURL: URL? = nil,
outoutFileType: AVFileType = .mov,
outputFileType: AVFileType = .mov,
progressBlock:((Double) -> Void)? = nil,
completionBlock:@escaping ((URL,String) -> Void))
// get original asset file name
Expand Down
4 changes: 2 additions & 2 deletions TLPhotoPicker/Classes/TLAssetsCollection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public struct TLPHAsset {
//This method was one of them.
public func exportVideoFile(options: PHVideoRequestOptions? = nil,
outputURL: URL? = nil,
outoutFileType: AVFileType = .mov,
outputFileType: AVFileType = .mov,
progressBlock:((Double) -> Void)? = nil,
completionBlock:@escaping ((URL,String) -> Void)) {
guard
Expand Down Expand Up @@ -266,7 +266,7 @@ public struct TLPHAsset {
}
let exportSession = AVAssetExportSession.init(asset: avasset, presetName: AVAssetExportPresetHighestQuality)
exportSession?.outputURL = writeURL
exportSession?.outputFileType = outoutFileType
exportSession?.outputFileType = outputFileType
exportSession?.exportAsynchronously(completionHandler: {
completionBlock(writeURL, mimetype)
})
Expand Down

0 comments on commit ce21a10

Please sign in to comment.