mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 08:53:10 +01:00
[extractor/common] Add container meta field for formats extracted in _parse_mpd_formats
This commit is contained in:
parent
4f5cf31977
commit
126f225bcf
@ -1880,6 +1880,7 @@ def extract_Initialization(source):
|
|||||||
'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…
Reference in New Issue
Block a user