Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tburrows13 authored Feb 13, 2018
1 parent 10e8e92 commit 4a51503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moviepy/video/io/ffmpeg_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def get_fps():
line = lines_audio[0]
try:
match = re.search(" [0-9]* Hz", line)
hz_string = line[match.start()+1:match.end()-3]
hz_string = line[match.start()+1:match.end()-3] # Removes the 'hz' from the end
result['audio_fps'] = int(hz_string)
except:
result['audio_fps'] = 'unknown'
Expand Down

0 comments on commit 4a51503

Please sign in to comment.