diff options
author | Alard <alard@example.com> | 2023-03-27 19:04:23 +0200 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2024-02-20 02:54:01 +0530 |
commit | 4ce57d3b873c2887814cbec03d029533e82f7db5 (patch) | |
tree | caee4c6c6c173c4423a83377fbad4064db517f02 /yt_dlp/YoutubeDL.py | |
parent | ffff1bc6598fc7a9258e51bc153cab812467f9f9 (diff) |
[ie] Support multi-period MPD streams (#6654)
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-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 e7d654d0f..bd20d0896 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3483,7 +3483,8 @@ class YoutubeDL: or info_dict.get('is_live') and self.params.get('hls_use_mpegts') is None, 'Possible MPEG-TS in MP4 container or malformed AAC timestamps', FFmpegFixupM3u8PP) - ffmpeg_fixup(info_dict.get('is_live') and downloader == 'dashsegments', + ffmpeg_fixup(downloader == 'dashsegments' + and (info_dict.get('is_live') or info_dict.get('is_dash_periods')), 'Possible duplicate MOOV atoms', FFmpegFixupDuplicateMoovPP) ffmpeg_fixup(downloader == 'web_socket_fragment', 'Malformed timestamps detected', FFmpegFixupTimestampPP) |