mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-25 11:43:17 +01:00
improve inverse #909
This commit is contained in:
parent
1a3af8323b
commit
9c77e74d14
@ -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…
Reference in New Issue
Block a user