add(subtitle): Add TTML mine type (#171)

This commit is contained in:
CodeName393
2026-10-26 08:41:16 -06:00
committed by GitHub
parent af2ec8112c
commit a7f77dea42
+1 -1
View File
@@ -61,7 +61,7 @@ class Subtitle(Track):
return Subtitle.Codec.SubStationAlpha
elif mime == "ass":
return Subtitle.Codec.SubStationAlphav4
elif mime == "ttml":
elif mime in ("ttml", "ttml+xml"):
return Subtitle.Codec.TimedTextMarkupLang
elif mime == "vtt":
return Subtitle.Codec.WebVTT