diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-13 04:42:31 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-13 04:43:26 +0530 |
commit | 993191c0d5f711d4978c680d705ce09d957aa176 (patch) | |
tree | 93284cfc8f00a52b38cc327526a1aaba3cd32d92 | |
parent | fc5c8b6492d0c269191a32d7836b8a94416b804e (diff) | |
download | hypervideo-pre-993191c0d5f711d4978c680d705ce09d957aa176.tar.lz hypervideo-pre-993191c0d5f711d4978c680d705ce09d957aa176.tar.xz hypervideo-pre-993191c0d5f711d4978c680d705ce09d957aa176.zip |
Fix bug in c111cefa5de2337fc677367ee2d727b8a56e3fd0
-rw-r--r-- | yt_dlp/YoutubeDL.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 9d91d72ec..2a8c658eb 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2856,8 +2856,8 @@ class YoutubeDL(object): 'writing DASH m4a. Only some players support this container', FFmpegFixupM4aPP) - downloader = (get_suitable_downloader(info_dict, self.params).__name__ - if 'protocol' in info_dict else None) + downloader = get_suitable_downloader(info_dict, self.params) if 'protocol' in info_dict else None + downloader = downloader.__name__ if downloader else None ffmpeg_fixup(info_dict.get('requested_formats') is None and downloader == 'HlsFD', 'malformed AAC bitstream detected', FFmpegFixupM3u8PP) ffmpeg_fixup(downloader == 'WebSocketFragmentFD', 'malformed timestamps detected', FFmpegFixupTimestampPP) |