yt-dlp/yt_dlp/utils
pukkandan eedda5252c
[utils] `FormatSorter`: Improve `size` and `br`
Closes #1596

Previously, when some formats have accurate size and some approximate,
the ones with accurate size was always prioritized

For formats with known tbr and unknown vbr/abr, we were setting
(vbr=tbr, abr=0) for sorting to work. This is no longer needed.

Authored by pukkandan, u-spec-png
2023-06-21 06:10:38 +05:30
..
__init__.py [cleanup, utils] Split into submodules (#7090) 2023-05-20 21:56:23 +00:00
_deprecated.py [cleanup, utils] Split into submodules (#7090) 2023-05-20 21:56:23 +00:00
_legacy.py [cookies] Move `YoutubeDLCookieJar` to cookies module (#7091) 2023-05-27 07:08:19 +00:00
_utils.py [utils] `FormatSorter`: Improve `size` and `br` 2023-06-21 06:10:38 +05:30
traversal.py [cleanup, utils] Split into submodules (#7090) 2023-05-20 21:56:23 +00:00