mpv/player/lua
Christoph Heinrich 1a633a6cbc ytdl_hook: reverse order of tracks
Only matters when configuring ytdl_hook with `all_formats=yes`.

So far the tracks were ordered from worst to best quality.

Web players with quality selection always show the highest quality
option at the top. Since tracks are usually listed with the first
track at the top, that should also be the highest quality one.

yt-dlp/youtube-dl sorts it's formats from worst to best.
Iterate in reverse to get best track first.
2022-11-01 09:54:33 -04:00
..
assdraw.lua osc: improve look of seekranges 2019-09-02 01:11:04 +03:00
auto_profiles.lua auto_profiles.lua: don't warn if profile-restore=default 2022-01-30 15:13:10 +02:00
console.lua console: respect the top margin shared script property 2022-10-28 13:04:32 +02:00
defaults.lua lua: command_native_async: make the callback optional 2022-06-22 14:44:52 +03:00
options.lua options.lua: remove unused function 2022-04-08 19:20:49 +03:00
osc.lua osc: scale rendered aspect ratio with window aspect ratio 2022-10-06 14:34:56 -04:00
stats.lua various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
ytdl_hook.lua ytdl_hook: reverse order of tracks 2022-11-01 09:54:33 -04:00