Skip to content

Commit

Permalink
FIX: concatenate - duration of the result (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
knezi authored May 14, 2020
1 parent 4d70eab commit b2ed1f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moviepy/video/compositing/concatenate.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def concatenate_videoclips(
h = max(r[1] for r in sizes)

tt = np.maximum(0, tt + padding * np.arange(len(tt)))
tt[-1] -= padding # Last element is the duration of the whole

if method == "chain":

Expand Down

0 comments on commit b2ed1f6

Please sign in to comment.