This commit is contained in:
Arkadiusz Fal
2022-06-14 23:20:19 +02:00
parent f1e06a0c1d
commit 574df016f3
2 changed files with 29 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ class Segment: ObservableObject, Hashable {
}
var endTime: CMTime {
CMTime(seconds: end, preferredTimescale: 1000)
.secondsInDefaultTimescale(end)
}
init(category: String, segment: [Double], uuid: String, videoDuration: Int) {