Skip to content

Commit

Permalink
Merge pull request #11 from khainhero/patch-1
Browse files Browse the repository at this point in the history
 Fixes issue#8 output file metadata .MOV -> .mp4
  • Loading branch information
jonataslaw committed Apr 16, 2020
2 parents baa5b38 + cf0c694 commit ccf947f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/SwiftVideoCompressPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public class SwiftVideoCompressPlugin: NSObject, FlutterPlugin {
_ duration: Double?,_ includeAudio: Bool?,_ frameRate: Int?,
_ result: @escaping FlutterResult) {
let sourceVideoUrl = Utility.getPathUrl(path)
let sourceVideoType = sourceVideoUrl.pathExtension
let sourceVideoType = "mp4"

let sourceVideoAsset = avController.getVideoAsset(sourceVideoUrl)
let sourceVideoTrack = avController.getTrack(sourceVideoAsset)
Expand Down

0 comments on commit ccf947f

Please sign in to comment.