[MetalVideoProcess]: fix export bug.
This commit is contained in:
@@ -572,7 +572,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
DEVELOPMENT_TEAM = RYRPKMVKDL;
|
||||
DEVELOPMENT_TEAM = 3BJYKWHMM4;
|
||||
INFOPLIST_FILE = SimpleVideoEditor/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
@@ -591,7 +591,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
DEVELOPMENT_TEAM = RYRPKMVKDL;
|
||||
DEVELOPMENT_TEAM = 3BJYKWHMM4;
|
||||
INFOPLIST_FILE = SimpleVideoEditor/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
|
||||
+2
-1
@@ -136,8 +136,9 @@ extension ViewController: MetalVideoProcessPlayerDelegate {
|
||||
source --> self.movieWriter!
|
||||
self.view.isUserInteractionEnabled = false
|
||||
|
||||
try? self.player?.startExport()
|
||||
|
||||
self.movieWriter?.activateAudioTrack()
|
||||
self.movieWriter?.startRecording()
|
||||
try? self.player?.startExport()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user