diff options
author | Ondřej Caletka <[email protected]> | 2017-12-30 22:02:46 +0100 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2017-12-31 04:04:09 +0700 |
commit | 126f225bcffbdc55725fe2272daf22489abacf54 (patch) | |
tree | 2fd9a4d0ab0331277cc74d70d1375f8827601071 | |
parent | 4f5cf319772b693c7781de47dbc5451c3c18a81c (diff) | |
download | youtube-dl-126f225bcffbdc55725fe2272daf22489abacf54.tar.gz youtube-dl-126f225bcffbdc55725fe2272daf22489abacf54.zip |
[extractor/common] Add container meta field for formats extracted in _parse_mpd_formats
-rw-r--r-- | youtube_dl/extractor/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |