extend list

This commit is contained in:
j 2026-01-15 15:58:04 +00:00
commit 0562515f68

View file

@ -26,7 +26,7 @@ def detect_cuts(path, seconds=True):
cuts.append([c + position for c in segment_cuts])
else:
fps = AspectRatio(info['video'][0]['framerate'])
cuts.append([c + int(position*fps) for c in segment_cuts])
cuts += [c + int(position*fps) for c in segment_cuts]
position += info['duration']
return cuts