|
@@ -1209,34 +1209,6 @@ extension PQStuckPointEditerController {
|
|
|
stickers.append(sticker)
|
|
|
}
|
|
|
}
|
|
|
- ///---
|
|
|
-// var totalStickerTimer:Float64 = CMTimeGetSeconds(playeTimeRange.start)
|
|
|
-// for sticker in section.sectionTimeline!.visionTrack!.getEnableVisionTrackMaterials() {
|
|
|
-// if sticker.type == StickerType.VIDEO.rawValue {
|
|
|
-// let asset: AVURLAsset = AVURLAsset(url: URL(fileURLWithPath: documensDirectory + sticker.locationPath), options: nil)
|
|
|
-//
|
|
|
-// BFLog(message: "单个视频\(sticker.locationPath)时长::\(CMTimeGetSeconds(asset.duration))")
|
|
|
-// sticker.generateDefaultValues()
|
|
|
-// sticker.model_in = 0
|
|
|
-// sticker.out = CMTimeGetSeconds(asset.duration)
|
|
|
-//
|
|
|
-// sticker.timelineIn = totalStickerTimer
|
|
|
-// sticker.timelineOut = sticker.timelineIn + sticker.out
|
|
|
-//
|
|
|
-// totalStickerTimer = totalStickerTimer + sticker.out
|
|
|
-//
|
|
|
-//
|
|
|
-// } else if sticker.type == StickerType.IMAGE.rawValue {
|
|
|
-// sticker.generateDefaultValues()
|
|
|
-// sticker.timelineIn = totalStickerTimer
|
|
|
-// sticker.timelineOut = sticker.timelineIn + sticker.out
|
|
|
-//
|
|
|
-// totalStickerTimer = totalStickerTimer + sticker.out
|
|
|
-//
|
|
|
-// }
|
|
|
-//
|
|
|
-// stickers.append(sticker)
|
|
|
-// }
|
|
|
}
|
|
|
|
|
|
|