]> jfr.im git - yt-dlp.git/commitdiff
Fix default of `dynamic_mpd`
authorpukkandan <redacted>
Sat, 10 Apr 2021 15:20:36 +0000 (20:50 +0530)
committerpukkandan <redacted>
Sat, 10 Apr 2021 15:27:53 +0000 (20:57 +0530)
yt_dlp/extractor/common.py

index 288ca15d689a0044bb4d6a73f4b3f3461e7f21cb..be3164ede1c6bb4149a6dca1540e67bf0199c7f0 100644 (file)
@@ -2407,7 +2407,7 @@ def _parse_mpd_formats(self, mpd_doc, mpd_id=None, mpd_base_url='', mpd_url=None
             http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014.zip
          2. https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP
         """
-        if not self._downloader.params.get('dynamic_mpd'):
+        if not self._downloader.params.get('dynamic_mpd', True):
             if mpd_doc.get('type') == 'dynamic':
                 return []