aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-01-21 17:42:48 +0700
committerSergey M․ <dstftw@gmail.com>2018-01-21 17:42:48 +0700
commit0d9c48de4f7877e05cbb9e89b97104796d01ca70 (patch)
treeaf539435cbbc748fc904ee6548152ccc927f6949 /youtube_dl
parentdf58ecbeba72e03b241c28e7c4760ef9b215c402 (diff)
[extractor/common] Improve DASH formats extraction for jwplayer (#9242, #15187)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 5b6a09c0b..a072e9bc9 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -2404,7 +2404,7 @@ class InfoExtractor(object):
formats.extend(self._extract_m3u8_formats(
source_url, video_id, 'mp4', entry_protocol='m3u8_native',
m3u8_id=m3u8_id, fatal=False))
- elif ext == 'mpd':
+ elif source_type == 'dash' or ext == 'mpd':
formats.extend(self._extract_mpd_formats(
source_url, video_id, mpd_id=mpd_id, fatal=False))
elif ext == 'smil':