fix(stream clip): blank section at start of clip

This commit is contained in:
2026-06-19 23:00:09 +01:00
parent 736142e8b3
commit e60b6e36b2

View File

@@ -196,7 +196,7 @@ public class StreamService {
return Arrays.stream(tsFiles)
.filter(f -> {
long segMs = parseTimestampMs(f);
return segMs < endMs && segMs > startMs;
return segMs < endMs && (segMs + 3_000) > startMs;
})
.sorted(Comparator.comparingLong(this::parseTimestampMs))
.collect(Collectors.toList());