aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/youtube.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index acd5cf2c3..c1d570cb3 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1478,7 +1478,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
errnote='Could not download DASH manifest',
fatal=dash_mpd_fatal)
- for df in self._parse_dash_manifest(video_id, dash_doc, dash_mpd_fatal):
+ for df in self._parse_dash_manifest(
+ video_id, dash_doc, formats_dict=self._formats, fatal=dash_mpd_fatal):
# Do not overwrite DASH format found in some previous DASH manifest
if df['format_id'] not in dash_formats:
dash_formats[df['format_id']] = df