1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-31 17:44:33 -05:00

[FormatSort] Fix aext for --prefer-free-formats

Closes #4735
This commit is contained in:
pukkandan
2022-08-31 22:49:14 +05:30
parent 50a399326f
commit f2e9fa3ef7
2 changed files with 2 additions and 2 deletions

View File

@@ -1693,7 +1693,7 @@ class InfoExtractor:
'order_free': ('webm', 'mp4', 'flv', '', 'none')},
'aext': {'type': 'ordered', 'field': 'audio_ext',
'order': ('m4a', 'aac', 'mp3', 'ogg', 'opus', 'webm', '', 'none'),
'order_free': ('opus', 'ogg', 'webm', 'm4a', 'mp3', 'aac', '', 'none')},
'order_free': ('ogg', 'opus', 'webm', 'mp3', 'm4a', 'aac', '', 'none')},
'hidden': {'visible': False, 'forced': True, 'type': 'extractor', 'max': -1000},
'aud_or_vid': {'visible': False, 'forced': True, 'type': 'multiple',
'field': ('vcodec', 'acodec'),