1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-21 17:51:51 +00:00

[extractor/common] Add container meta field for formats extracted in _parse_mpd_formats

This commit is contained in:
Ondřej Caletka 2017-12-30 22:02:46 +01:00 committed by Sergey M․
parent 4f5cf31977
commit 126f225bcf
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -1880,6 +1880,7 @@ class InfoExtractor(object):
'language': lang if lang not in ('mul', 'und', 'zxx', 'mis') else None,
'format_note': 'DASH %s' % content_type,
'filesize': filesize,
'container': mimetype2ext(mime_type) + '_dash',
}
f.update(parse_codecs(representation_attrib.get('codecs')))
representation_ms_info = extract_multisegment_info(representation, adaption_set_ms_info)