aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-05-19 00:50:24 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-05-19 00:50:24 +0800
commitecee5724110847b832a6074c66ca4a63758100f4 (patch)
tree18839df8f37dad55cecf17749a270e1a8e0d56fa /youtube_dl/utils.py
parent1b0427e6c433c0b6db5e210db6e3173e19e702ed (diff)
[yahoo] Add support for closed captions (closes #5714)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 507f07383..52d198fa3 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -1665,6 +1665,7 @@ def mimetype2ext(mt):
return {
'x-ms-wmv': 'wmv',
'x-mp4-fragmented': 'mp4',
+ 'ttml+xml': 'ttml',
}.get(res, res)