[FFmpeg-devel] [PATCH] Matroska S_SSA and S_ASS identify text subtitles as well

Reimar Döffinger Reimar.Doeffinger
Mon Jul 16 16:10:39 CEST 2007


Hello,
http://samples.mplayerhq.hu/Matroska/mewmew/mewmew-vorbis-ssa.mkv
needs this to detect the subtitles (output in MPlayer still just plain
sucks though :-().

Greetings,
Reimar D?ffinger
-------------- next part --------------
Index: libavformat/matroska.c
===================================================================
--- libavformat/matroska.c	(revision 9702)
+++ libavformat/matroska.c	(working copy)
@@ -63,6 +63,8 @@
     {"S_TEXT/UTF8"      , CODEC_ID_TEXT},
     {"S_TEXT/ASS"       , CODEC_ID_TEXT},
     {"S_TEXT/SSA"       , CODEC_ID_TEXT},
+    {"S_SSA"            , CODEC_ID_TEXT},
+    {"S_ASS"            , CODEC_ID_TEXT},
     {"S_VOBSUB"         , CODEC_ID_DVD_SUBTITLE},
 
     {NULL               , CODEC_ID_NONE}



More information about the ffmpeg-devel mailing list