add more subtitles mime types to mimetype2ext and fix the platform subtitle extraction

This commit is contained in:
remitamine 2016-02-20 22:02:03 +01:00
parent 7360db05b4
commit cafcf657a4
3 changed files with 8 additions and 11 deletions

View file

@ -1846,7 +1846,11 @@ def mimetype2ext(mt):
return {
'3gpp': '3gp',
'smptett+xml': 'tt',
'srt': 'srt',
'ttaf+xml': 'dfxp',
'ttml+xml': 'ttml',
'vtt': 'vtt',
'x-flv': 'flv',
'x-mp4-fragmented': 'mp4',
'x-ms-wmv': 'wmv',