[core] Don't select storyboard formats as fallback

Closes #7715
Authored by: bashonly
pull/8711/head
bashonly 2024-01-31 03:11:41 -06:00
rodzic 2792092afd
commit d63eae7e7f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 783F096F253D15B0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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))