youtube-dl: Update name of vp9 video format

Youtube apparently changed the name to reflect the fourcc code. The only
format still offered as vp9 is a very low quality variant.
This commit is contained in:
Simon Bruder 2023-06-25 21:46:13 +02:00
parent ea175b3361
commit 7cf4b5ac0e
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -5,7 +5,7 @@ let
formats = (map formats = (map
({ videoFormat, zAudioFormat }: "${videoFormat}+${zAudioFormat}") ({ videoFormat, zAudioFormat }: "${videoFormat}+${zAudioFormat}")
(lib.cartesianProductOfSets { (lib.cartesianProductOfSets {
videoFormat = [ "bestvideo[vcodec^=av01]" "bestvideo[vcodec^=vp9]" "bestvideo[vcodec^=avc1]" "bestvideo" ]; videoFormat = [ "bestvideo[vcodec^=av01]" "bestvideo[vcodec^=vp09]" "bestvideo[vcodec^=avc1]" "bestvideo" ];
zAudioFormat = [ "bestaudio[acodec^=opus]" "bestaudio[acodec^=mp4a]" "bestaudio" ]; zAudioFormat = [ "bestaudio[acodec^=opus]" "bestaudio[acodec^=mp4a]" "bestaudio" ];
})) ++ [ "best" ]; })) ++ [ "best" ];