|
@@ -397,10 +397,9 @@ public class BFRecordExport {
|
|
|
let outSeconds = CMTimeGetSeconds(AVAsset(url: url).duration)
|
|
|
|
|
|
let exportEndTime = Date().timeIntervalSince1970
|
|
|
-// BFLog(1, message: "视频导出完成: \(String(describing: url)) 生成视频时长为:\(outSeconds) 总用时:\(exportEndTime - tempBeginExport)")
|
|
|
- print("生成视频时长为:\(outSeconds) 总用时:\(exportEndTime - tempBeginExport)")
|
|
|
+ BFLog(1, message: "生成视频时长为:\(outSeconds) 总用时:\(exportEndTime - tempBeginExport)")
|
|
|
if testFor {
|
|
|
- cShowHUB(superView: nil, msg: (outSeconds == 0) ? "合成失败请重试。" : "总用时:\(exportEndTime - tempBeginExport)")
|
|
|
+ cShowHUB(superView: nil, msg: (outSeconds == 0) ? "合成失败请重试。" : String(format: "总用时: %.2f", exportEndTime - tempBeginExport))
|
|
|
}
|
|
|
|
|
|
self?.exportCompletion?(nil, url)
|