Add references for #14844

This commit is contained in:
Sergey M․ 2017-12-02 21:22:43 +07:00
parent 593f2f7989
commit 78593e294c
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
2 changed files with 2 additions and 0 deletions

View file

@ -563,6 +563,7 @@ def test_parse_mpd_formats(self):
'height': 1080, 'height': 1080,
}] }]
), ( ), (
# https://github.com/rg3/youtube-dl/pull/14844
'urls_only', 'urls_only',
'http://unknown/manifest.mpd', 'http://unknown/manifest.mpd',
[{ [{

View file

@ -1978,6 +1978,7 @@ def add_segment_url():
elif 'segment_urls' in representation_ms_info: elif 'segment_urls' in representation_ms_info:
# Segment URLs with no SegmentTimeline # Segment URLs with no SegmentTimeline
# Example: https://www.seznam.cz/zpravy/clanek/cesko-zasahne-vitr-o-sile-vichrice-muze-byt-i-zivotu-nebezpecny-39091 # Example: https://www.seznam.cz/zpravy/clanek/cesko-zasahne-vitr-o-sile-vichrice-muze-byt-i-zivotu-nebezpecny-39091
# https://github.com/rg3/youtube-dl/pull/14844
fragments = [] fragments = []
segment_duration = float_or_none( segment_duration = float_or_none(
representation_ms_info['segment_duration'], representation_ms_info['segment_duration'],