|
@@ -1744,16 +1744,11 @@ extension PQStuckPointEditerController {
|
|
|
break
|
|
|
}
|
|
|
|
|
|
- if finallyStuckPoints.count < 2 {
|
|
|
- cShowHUB(superView: nil, msg: "视频资源导入失败,请重新选择!!")
|
|
|
- exportResourceFailed()
|
|
|
- return
|
|
|
- }
|
|
|
// 拼接图片所使用的时长.选择一组图片 按图片数量计算卡点的总时长
|
|
|
if selectedImageDataCount > 0 {
|
|
|
clipPoint(clipNum: selectedImageDataCount - 1, oldPoints: stuckPointsTemp)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 全是图片时数组里放着的一定都是图片的使用的卡点
|
|
|
// 定义一次循环的总时长
|
|
|
var oneSelectImageDuration: Float = 0.0
|
|
@@ -1788,6 +1783,12 @@ extension PQStuckPointEditerController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if finallyStuckPoints.count < 2 {
|
|
|
+ cShowHUB(superView: nil, msg: "视频资源导入失败,请重新选择!!")
|
|
|
+ exportResourceFailed()
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
// 设置速度选择的位置
|
|
|
if speedSettingView.viewType == 1 {
|
|
|
speedSettingView.setSelectItem(index: lastSpeedSelectIndex, isSettingPlayer: false)
|