improve inverse #909

pull/914/head
Mikael Finstad 5 years ago
parent 1a3af8323b
commit 9c77e74d14
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -75,5 +75,7 @@ export function invertSegments(sortedCutSegments, duration) {
}); });
} }
return ret; // Filter out zero length resulting segments
// https://github.com/mifi/lossless-cut/issues/909
return ret.filter(({ start, end }) => end > start);
} }

Loading…
Cancel
Save