extend list
This commit is contained in:
parent
32ff082319
commit
0562515f68
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue