summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhax@riseup.net <hax@riseup.net>2020-08-21 21:16:52 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2020-08-22 22:51:07 +0200
commit118e63dff16b5a302599ea1c7f4200d217674a50 (patch)
tree2527242bb2aeeb4801e33270ce35d8bb19a40548
parenta469d29c0825b43ea7746708ab06568a64616aff (diff)
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>
-rw-r--r--libavformat/nut.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c
index d6993239a3..47ed152529 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -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') },