(sourceDuration: number)
| 103 | } |
| 104 | |
| 105 | export function createIdentityEditSpec(sourceDuration: number): VideoEditSpec { |
| 106 | const duration = normalizeDuration(sourceDuration); |
| 107 | return normalizeKeepRanges( |
| 108 | duration > 0 ? [{ start: 0, end: duration }] : [], |
| 109 | duration, |
| 110 | ); |
| 111 | } |
| 112 | |
| 113 | export function areEditSpecsEquivalent( |
| 114 | left: VideoEditSpec, |
no test coverage detected