projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f5cf31
)
[extractor/common] Add container meta field for formats extracted in _parse_mpd_formats
author
Ondřej Caletka
<ondrej@caletka.cz>
Sat, 30 Dec 2017 21:02:46 +0000
(22:02 +0100)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 30 Dec 2017 21:04:09 +0000
(
04:04
+0700)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 5e7e7a3f7b0348b4591e35af926eb3fccb7f270c..5b6a09c0b7f732ef5e9361775e42719af0deb8b7 100644
(file)
--- 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)