Skip to content

Commit

Permalink
動画を変換しないように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
ioridev committed Mar 22, 2023
1 parent 63625c4 commit 753103e
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,7 @@ - (void)pickVideoWithSource:(nonnull FLTSourceSpecification *)source
UIImagePickerController *imagePickerController = [self createImagePickerController];
imagePickerController.modalPresentationStyle = UIModalPresentationCurrentContext;
imagePickerController.delegate = self;
imagePickerController.mediaTypes = @[
(NSString *)kUTTypeMovie, (NSString *)kUTTypeAVIMovie, (NSString *)kUTTypeVideo,
(NSString *)kUTTypeMPEG4
];
imagePickerController.mediaTypes = @[(NSString *)kUTTypeMovie];
imagePickerController.videoQuality = UIImagePickerControllerQualityTypeHigh;
imagePickerController.videoExportPreset = AVAssetExportPresetPassthrough;

Expand Down

0 comments on commit 753103e

Please sign in to comment.