|
@@ -744,7 +744,7 @@ extension PQStuckPointEditerController {
|
|
|
}
|
|
|
|
|
|
for photo in selectedPhotoData! {
|
|
|
- if photo.asset != nil, photo.asset?.mediaType == .video, photo.locationPath.count <= 0 {
|
|
|
+ if photo.asset != nil, photo.asset?.mediaType == .video{
|
|
|
if !isHaveVideo {
|
|
|
isHaveVideo = true
|
|
|
}
|
|
@@ -785,9 +785,11 @@ extension PQStuckPointEditerController {
|
|
|
/// 处理所有数据完成
|
|
|
/// - Returns: <#description#>
|
|
|
func dealWithDataSuccess() {
|
|
|
-// if !isSynchroMusicInfoSuccess || !isStuckPointDataSuccess {
|
|
|
-// return
|
|
|
-// }
|
|
|
+
|
|
|
+ BFLog(message: "三组参数:\(isSynchroMusicInfoSuccess) \(isStuckPointDataSuccess) \(isExportVideosSuccess)")
|
|
|
+ if !isSynchroMusicInfoSuccess || !isStuckPointDataSuccess || !isExportVideosSuccess {
|
|
|
+ return
|
|
|
+ }
|
|
|
playeTimeRange = CMTimeRange(start: CMTime(value: CMTimeValue(Int64((stuckPointMusicData?.startTime ?? 0) * 600)), timescale: 600), end: CMTime(value: CMTimeValue(Int64((stuckPointMusicData?.endTime ?? 0) * 600)), timescale: 600))
|
|
|
createPorjectData()
|
|
|
settingPlayerView()
|