Skip to content

Commit

Permalink
Hopefully fixes issue Zulko#13 for everyone. Added self.proc.stderr.c…
Browse files Browse the repository at this point in the history
…lose() to initialization.
  • Loading branch information
oxivanisher committed Mar 21, 2014
1 parent 4772461 commit 62263ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moviepy/video/io/ffmpeg_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def __init__(self, filename, size, fps, codec="libx264",
filename ]

self.proc = sp.Popen(cmd,stdin=sp.PIPE, stderr=sp.PIPE)
self.proc.stderr.close()

def write_frame(self,img_array):
""" Writes 1 frame in the file ! """
Expand Down

0 comments on commit 62263ed

Please sign in to comment.