Skip to content

Commit

Permalink
removed Hz from audio_fps match in ffmpeg_parse_infos
Browse files Browse the repository at this point in the history
  • Loading branch information
qmac committed Nov 14, 2017
1 parent a744df1 commit 345d67c
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)
result['audio_fps'] = int(line[match.start()+1:match.end()])
result['audio_fps'] = int(line[match.start()+1:match.end()-3])
except:
result['audio_fps'] = 'unknown'

Expand Down

0 comments on commit 345d67c

Please sign in to comment.