revert
This commit is contained in:
parent
ce6a6ddb46
commit
081fe6eed4
1 changed files with 1 additions and 2 deletions
|
@ -46,7 +46,6 @@ def avinfo(filename):
|
|||
if not 'display_aspect_ratio' in info['video'][0]:
|
||||
dar = AspectRatio(info['video'][0]['width'], info['video'][0]['height'])
|
||||
info['video'][0]['display_aspect_ratio'] = dar.ratio
|
||||
if 'path' in info:
|
||||
del info['path']
|
||||
if os.path.splitext(filename)[-1] in ('.srt', '.sub', '.idx', '.rar') and 'error' in info:
|
||||
del info['error']
|
||||
|
|
Loading…
Reference in a new issue