aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-07-07 21:05:58 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-07-07 21:10:43 +0530
commitb5ac45b1971b39c2dc7296601516c68e7747e228 (patch)
tree45ebc6239da00f87e0d18debce1d119b19525d8e /yt_dlp/YoutubeDL.py
parent38a40c9e160dc2e46e0acb3039dbdef1a18d2d36 (diff)
downloadhypervideo-pre-b5ac45b1971b39c2dc7296601516c68e7747e228.tar.lz
hypervideo-pre-b5ac45b1971b39c2dc7296601516c68e7747e228.tar.xz
hypervideo-pre-b5ac45b1971b39c2dc7296601516c68e7747e228.zip
Fix selectors `all`, `mergeall` and add tests
Bug from: 981052c9c6febb33b6547140a67a49ac0f5f4578
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r--yt_dlp/YoutubeDL.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index 2094cf9a5..6cfcee455 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -1758,6 +1758,7 @@ class YoutubeDL(object):
def _check_formats(formats):
if not check_formats:
yield from formats
+ return
for f in formats:
self.to_screen('[info] Testing format %s' % f['format_id'])
temp_file = tempfile.NamedTemporaryFile(