fix indent
This commit is contained in:
parent
792a1957d5
commit
0cbad7bb08
@ -294,8 +294,8 @@ class MediaProbe:
|
|||||||
|
|
||||||
if stream['codec_type'] == 'video':
|
if stream['codec_type'] == 'video':
|
||||||
if 'display_aspect_ratio' not in stream:
|
if 'display_aspect_ratio' not in stream:
|
||||||
stream['aspect'] = float(
|
stream['aspect'] = float(
|
||||||
stream['width']) / float(stream['height'])
|
stream['width']) / float(stream['height'])
|
||||||
else:
|
else:
|
||||||
w, h = stream['display_aspect_ratio'].split(':')
|
w, h = stream['display_aspect_ratio'].split(':')
|
||||||
stream['aspect'] = float(w) / float(h)
|
stream['aspect'] = float(w) / float(h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user