0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

Remove asr appearing twice in -F

This commit is contained in:
pukkandan 2021-07-26 03:22:39 +05:30
parent 9536bc072d
commit ea05b3020d
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -3069,7 +3069,7 @@ def list_formats(self, info_dict):
format_field(f, 'language', '[%s]'),
format_field(f, 'format_note'),
format_field(f, 'container', ignore=(None, f.get('ext'))),
format_field(f, 'asr', '%5dHz')))),
))),
] for f in formats if f.get('preference') is None or f['preference'] >= -1000]
header_line = ['ID', 'EXT', 'RESOLUTION', 'FPS', '|', ' FILESIZE', ' TBR', 'PROTO',
'|', 'VCODEC', ' VBR', 'ACODEC', ' ABR', ' ASR', 'MORE INFO']