libavformat/nut: Support SSA and ASS subtitles

ffmpeg documentation says the NUT container supports SubStation Alpha
This brings actual functionality in line with documentation.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
hax@riseup.net 2020-08-21 21:16:52 -07:00 committed by Michael Niedermayer
parent a469d29c08
commit 118e63dff1
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@
const AVCodecTag ff_nut_subtitle_tags[] = {
{ AV_CODEC_ID_TEXT, MKTAG('U', 'T', 'F', '8') },
{ AV_CODEC_ID_ASS, MKTAG('S', 'S', 'A', 0 ) },
{ AV_CODEC_ID_ASS, MKTAG('A', 'S', 'S', 0 ) },
{ AV_CODEC_ID_DVD_SUBTITLE, MKTAG('D', 'V', 'D', 'S') },
{ AV_CODEC_ID_DVB_SUBTITLE, MKTAG('D', 'V', 'B', 'S') },
{ AV_CODEC_ID_DVB_TELETEXT, MKTAG('D', 'V', 'B', 'T') },