The swiss army knife of lossless video/audio editing
Don't show invalid initial segment
Mikael Finstadca7b3dee6a82
diff --git a/src/Timeline.jsx b/src/Timeline.jsxindex e96754ec..203b3b57 100644--- a/src/Timeline.jsx+++ b/src/Timeline.jsx@@ -227,9 +227,9 @@ const Timeline = memo(({{commandedTimePercent !== undefined && <div style={{ left: commandedTimePercent, position: 'absolute', bottom: 0, top: 0, zIndex: 4, backgroundColor: 'white', width: currentTimeWidth, pointerEvents: 'none' }} />}{apparentCutSegments.map((seg, i) => {- const {- segBgColor, segActiveBgColor, segBorderColor,- } = getSegColors(seg);+ const { segBgColor, segActiveBgColor, segBorderColor } = getSegColors(seg);++ if (seg.start === 0 && seg.end === 0) return null; // No video loadedreturn (<TimelineSeg