Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Zulko/moviepy
Browse files Browse the repository at this point in the history
  • Loading branch information
bearney74 committed Mar 10, 2017
2 parents dfb67c3 + 484ea99 commit ae93f71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moviepy/video/compositing/transitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def crossfadeout(clip, duration):
""" Makes the clip disappear progressively, over ``duration`` seconds.
Only works when the clip is included in a CompositeVideoClip.
"""
clip.mask.duration = clip.duration
newclip = clip.copy()
newclip.mask = clip.mask.fx(fadeout, duration)
return newclip
Expand Down

0 comments on commit ae93f71

Please sign in to comment.