mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-14 13:05:09 +00:00
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