mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 03:15:08 +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
|
return Subtitle.Codec.SubStationAlpha
|
||||||
elif mime == "ass":
|
elif mime == "ass":
|
||||||
return Subtitle.Codec.SubStationAlphav4
|
return Subtitle.Codec.SubStationAlphav4
|
||||||
elif mime == "ttml":
|
elif mime in ("ttml", "ttml+xml"):
|
||||||
return Subtitle.Codec.TimedTextMarkupLang
|
return Subtitle.Codec.TimedTextMarkupLang
|
||||||
elif mime == "vtt":
|
elif mime == "vtt":
|
||||||
return Subtitle.Codec.WebVTT
|
return Subtitle.Codec.WebVTT
|
||||||
|
|||||||
Reference in New Issue
Block a user