Skip to content

Commit

Permalink
concatenate -> `concatenate_videoclips
Browse files Browse the repository at this point in the history
`concatenate` is deprecated. Use `concatenate_videoclips instead. https://github.com/Zulko/moviepy/blob/master/moviepy/video/compositing/concatenate.py#L123
  • Loading branch information
Gloin1313 authored Jun 15, 2017
1 parent 416279c commit 0cc8b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@ def test_issue_547():
green = ColorClip((640, 480), color=(0,255,0)).set_duration(2)
blue = ColorClip((640, 480), color=(0,0,255)).set_duration(3)

video=concatenate([red, green, blue], method="compose")
video=concatenate_videoclips([red, green, blue], method="compose")
assert video.duration == 6
assert video.mask.duration == 6

video=concatenate([red, green, blue])
video=concatenate_videoclips([red, green, blue])
assert video.duration == 6


Expand Down

0 comments on commit 0cc8b3b

Please sign in to comment.