1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-15 22:15:14 +00:00

[formatsort] Remove unnecessary field_preference from extractors

These were written with the old format sorting in mind and is no longer needed
This commit is contained in:
pukkandan
2021-02-18 23:52:28 +05:30
parent 9ba5705ac0
commit 54f37eeabd
20 changed files with 29 additions and 23 deletions

View File

@@ -571,7 +571,7 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
'ext': 'flv',
})
formats.append(format_info)
self._sort_formats(formats, ('preference', 'language_preference', 'height', 'width', 'tbr', 'fps'))
self._sort_formats(formats)
metadata = self._call_rpc_api(
'VideoPlayer_GetMediaMetadata', video_id,