Skip to content

Commit

Permalink
Changed withmask to with_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
jonata committed Nov 29, 2017
1 parent 1aa1f0b commit ebafb93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions moviepy/video/VideoClip.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def write_videofile(self, filename, fps=None, codec=None,
rewrite_audio=True, remove_temp=True,
write_logfile=False, verbose=True,
threads=None, ffmpeg_params=None,
progress_bar=True, withmask=False):
progress_bar=True, with_mask=False):
"""Write the clip to a videofile.
Parameters
Expand Down Expand Up @@ -244,7 +244,7 @@ def write_videofile(self, filename, fps=None, codec=None,
progress_bar
Boolean indicating whether to show the progress bar.
withmask
with_mask
Boolean indicating to export with clip's mask as an alpha
channel (with a codec that support this).
Expand Down Expand Up @@ -327,7 +327,7 @@ def write_videofile(self, filename, fps=None, codec=None,
verbose=verbose, threads=threads,
ffmpeg_params=ffmpeg_params,
progress_bar=progress_bar,
withmask=withmask)
withmask=with_mask)

if remove_temp and make_audio:
os.remove(audiofile)
Expand Down

0 comments on commit ebafb93

Please sign in to comment.