Skip to content

Commit

Permalink
Minor edit to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tburrows13 authored May 4, 2020
1 parent 40c5d02 commit a1542a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moviepy/audio/io/readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ def read_chunk(self, chunksize):
(int(len(result) / self.nchannels), self.nchannels)
)

# Pad the read chunk with zeros when there isn't enough audio left to read,
# so the buffer is always at full length.
# Pad the read chunk with zeros when there isn't enough audio
# left to read, so the buffer is always at full length.
pad = np.zeros((chunksize - len(result), self.nchannels), dtype=result.dtype)
result = np.concatenate([result, pad])
# self.proc.stdout.flush()
Expand Down

0 comments on commit a1542a5

Please sign in to comment.