diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-06 05:43:22 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-06 05:45:19 +0530 |
commit | 84726743993295f6105ed9ef5412040b8842e4c6 (patch) | |
tree | ee1e1cc8b115ccdceab01753f8fc749adc8476eb | |
parent | 1276a43a77144567fc575d6aaec5b5f8468b7d56 (diff) | |
download | hypervideo-pre-84726743993295f6105ed9ef5412040b8842e4c6.tar.lz hypervideo-pre-84726743993295f6105ed9ef5412040b8842e4c6.tar.xz hypervideo-pre-84726743993295f6105ed9ef5412040b8842e4c6.zip |
[FixupM3u8] Do not run if merge is needed
We pass the relevant arguments to the merger, so separate fixup in redundant
-rw-r--r-- | yt_dlp/YoutubeDL.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 3abb43000..770f62734 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2820,7 +2820,8 @@ class YoutubeDL(object): downloader = (get_suitable_downloader(info_dict, self.params).__name__ if 'protocol' in info_dict else None) - ffmpeg_fixup(downloader == 'HlsFD', 'malformed AAC bitstream detected', FFmpegFixupM3u8PP) + 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) ffmpeg_fixup(downloader == 'WebSocketFragmentFD', 'malformed duration detected', FFmpegFixupDurationPP) |