mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-25 22:42:38 +01:00
Set better video default setting
This commit is contained in:
parent
dbdcf4c2d6
commit
e261e3a904
@ -105,7 +105,7 @@ struct MovieFileTranseferable: Transferable {
|
||||
get async {
|
||||
await withCheckedContinuation { continuation in
|
||||
let urlAsset = AVURLAsset(url: url, options: nil)
|
||||
guard let exportSession = AVAssetExportSession(asset: urlAsset, presetName: AVAssetExportPresetMediumQuality) else {
|
||||
guard let exportSession = AVAssetExportSession(asset: urlAsset, presetName: AVAssetExportPreset1920x1080) else {
|
||||
continuation.resume(returning: nil)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user