From e261e3a9041a1a385e9439bd00618520c68279e4 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Fri, 10 Feb 2023 18:49:03 +0100 Subject: [PATCH] Set better video default setting --- .../Status/Editor/Components/StatusEditorUTTypeSupported.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Status/Sources/Status/Editor/Components/StatusEditorUTTypeSupported.swift b/Packages/Status/Sources/Status/Editor/Components/StatusEditorUTTypeSupported.swift index 05d9a027..cf5798ed 100644 --- a/Packages/Status/Sources/Status/Editor/Components/StatusEditorUTTypeSupported.swift +++ b/Packages/Status/Sources/Status/Editor/Components/StatusEditorUTTypeSupported.swift @@ -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 }