From: Ondřej Caletka Date: Sat, 30 Dec 2017 21:02:46 +0000 (+0100) Subject: [extractor/common] Add container meta field for formats extracted in _parse_mpd_formats X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=126f225bcffbdc55725fe2272daf22489abacf54;p=youtube-dl [extractor/common] Add container meta field for formats extracted in _parse_mpd_formats --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 5e7e7a3f7..5b6a09c0b 100644 --- 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)