Skip to content

Commit

Permalink
Merge pull request #2336 from Implosiv3/patch-2
Browse files Browse the repository at this point in the history
Fix issue #2330 audio write wrong fps
  • Loading branch information
OsaAjani authored Jan 22, 2025
2 parents 3245040 + 70ef9f7 commit b65a0c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moviepy/audio/AudioClip.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ def write_audiofile(
"""
if not fps:
if hasattr(self, "fps"):
fps = 44100
else:
fps = self.fps
else:
fps = 44100

if codec is None:
name, ext = os.path.splitext(os.path.basename(filename))
Expand Down

0 comments on commit b65a0c9

Please sign in to comment.