[common] indicate DASH container in _parse_mpd_formats function
This fixes issue #3681 and other similar for non-YouTube video sites that use MPEG-DASH. Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
This commit is contained in:
parent
17c3aced5d
commit
956d75b6ce
@ -1879,6 +1879,7 @@ class InfoExtractor(object):
|
|||||||
'language': lang if lang not in ('mul', 'und', 'zxx', 'mis') else None,
|
'language': lang if lang not in ('mul', 'und', 'zxx', 'mis') else None,
|
||||||
'format_note': 'DASH %s' % content_type,
|
'format_note': 'DASH %s' % content_type,
|
||||||
'filesize': filesize,
|
'filesize': filesize,
|
||||||
|
'container': mimetype2ext(mime_type) + '_dash',
|
||||||
}
|
}
|
||||||
f.update(parse_codecs(representation_attrib.get('codecs')))
|
f.update(parse_codecs(representation_attrib.get('codecs')))
|
||||||
representation_ms_info = extract_multisegment_info(representation, adaption_set_ms_info)
|
representation_ms_info = extract_multisegment_info(representation, adaption_set_ms_info)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user