Skip to content

Commit

Permalink
BF: Disabled logging on write_videofile to prevent crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcutone committed Aug 8, 2022
1 parent bb1e402 commit 47289f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy/hardware/camera/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,7 @@ def renderVideo(outputFile, videoFile, audioFile=None):
videoClip.audio = CompositeAudioClip([audioClip])

# transcode with the format the user wants
videoClip.write_videofile(outputFile, verbose=False)
videoClip.write_videofile(outputFile, verbose=False, logging=None)

return os.path.getsize(outputFile)

Expand Down

0 comments on commit 47289f6

Please sign in to comment.