Skip to content

Commit

Permalink
一个视频也走merge
Browse files Browse the repository at this point in the history
  • Loading branch information
chunzhiying committed Oct 22, 2015
1 parent 0ec6c7b commit 597ba65
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion MeiPaiDemo/MeiPaiDemo/RecordModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class RecordModel {

func mergeVideo() {

guard outputFileUrlAry.count > 1 else {
guard outputFileUrlAry.count > 0 else {
saveVideo(outputFileUrlAry.first!)
return }

Expand Down
2 changes: 1 addition & 1 deletion MeiPaiDemo/MeiPaiDemo/RecordViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class RecordViewController: UIViewController {
canRecord = false
loadingBox?.showInView(view, withText: "处理视频中..")

// recordVideoView.resetRecordVideoUIAndHandleEndingImageByUrl(model.outputFileUrl)
recordVideoView.resetRecordVideoUIAndHandleEndingImageByUrl(model.outputFileUrl)
// model.addNewVideoFilePath()

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) { [weak self] in
Expand Down

0 comments on commit 597ba65

Please sign in to comment.