forked from kenzuya/unshackle
add(subtitle): Add TTML mine type (#171)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user