mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-04-27 02:14:45 +00:00
Set better video default setting
This commit is contained in:
parent
dbdcf4c2d6
commit
e261e3a904
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ struct MovieFileTranseferable: Transferable {
|
||||||
get async {
|
get async {
|
||||||
await withCheckedContinuation { continuation in
|
await withCheckedContinuation { continuation in
|
||||||
let urlAsset = AVURLAsset(url: url, options: nil)
|
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)
|
continuation.resume(returning: nil)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue