Skip to content

Commit

Permalink
Fix bug in identifying video dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvellu committed Oct 9, 2016
1 parent 7b06e9e commit 6d75c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media_utils.py
Expand Up @@ -373,7 +373,7 @@ def get_info(video):
duration = length_re.group(0)
codecs = precodec_re.group(0).split(', ')
codec = codecs[0].split(' ')[0]
dimensions = codecs[2]
dimensions = codecs[-1]
# Salvando valores limpos em um dicionário.
details = {
'duration': duration,
Expand Down

0 comments on commit 6d75c86

Please sign in to comment.