aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorFelix S <felix.von.s@posteo.de>2021-04-18 12:48:39 +0200
committerFelix S <felix.von.s@posteo.de>2021-04-28 17:21:45 +0530
commit66a1b8643ad3ef492dfd55692dce6be66397e2b4 (patch)
tree5b5eb60f9e2c7eb93e2ac482d1230b00ec11a6b1 /yt_dlp/extractor/common.py
parent15828bcf25adb2d9ce2e9e591cc527f695e50420 (diff)
downloadhypervideo-pre-66a1b8643ad3ef492dfd55692dce6be66397e2b4.tar.lz
hypervideo-pre-66a1b8643ad3ef492dfd55692dce6be66397e2b4.tar.xz
hypervideo-pre-66a1b8643ad3ef492dfd55692dce6be66397e2b4.zip
[downloader/ism] Support muxing TTML subtitles
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 803c7fa06..2ca25951b 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -2816,7 +2816,7 @@ class InfoExtractor(object):
for track in stream.findall('QualityLevel'):
fourcc = track.get('FourCC', 'AACL' if track.get('AudioTag') == '255' else None)
# TODO: add support for WVC1 and WMAP
- if fourcc not in ('H264', 'AVC1', 'AACL'):
+ if fourcc not in ('H264', 'AVC1', 'AACL', 'TTML'):
self.report_warning('%s is not a supported codec' % fourcc)
continue
tbr = int(track.attrib['Bitrate']) // 1000