diff options
author | bashonly <bashonly@protonmail.com> | 2024-01-31 03:11:41 -0600 |
---|---|---|
committer | bashonly <bashonly@protonmail.com> | 2024-01-31 03:17:51 -0600 |
commit | d63eae7e7ffb1f3e733e552b9e5e82355bfba214 (patch) | |
tree | a801ce1bdd16975a1d0d12d9421dd9fd36e25d76 | |
parent | 2792092afd367e39251ace1fb2819c855ab8919f (diff) |
[core] Don't select storyboard formats as fallback
Closes #7715
Authored by: bashonly
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 5dcefb5b8..e7d654d0f 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2451,7 +2451,7 @@ class YoutubeDL: # for extractors with incomplete formats (audio only (soundcloud) # or video only (imgur)) best/worst will fallback to # best/worst {video,audio}-only format - matches = formats + matches = list(filter(lambda f: f.get('vcodec') != 'none' or f.get('acodec') != 'none', formats)) elif seperate_fallback and not ctx['has_merged_format']: # for compatibility with youtube-dl when there is no pre-merged format matches = list(filter(seperate_fallback, formats)) |