commit: 126f225bcffbdc55725fe2272daf22489abacf54
parent 4f5cf319772b693c7781de47dbc5451c3c18a81c
Author: Ondřej Caletka <ondrej@caletka.cz>
Date: Sat, 30 Dec 2017 22:02:46 +0100
[extractor/common] Add container meta field for formats extracted in _parse_mpd_formats
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
@@ -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)