mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
add support for S_ASS and S_SSA codec string
Originally committed as revision 9704 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f999b63c77
commit
ee8c87b55b
@ -63,6 +63,8 @@ CodecTags ff_mkv_codec_tags[]={
|
||||
{"S_TEXT/UTF8" , CODEC_ID_TEXT},
|
||||
{"S_TEXT/ASS" , CODEC_ID_TEXT},
|
||||
{"S_TEXT/SSA" , CODEC_ID_TEXT},
|
||||
{"S_ASS" , CODEC_ID_TEXT},
|
||||
{"S_SSA" , CODEC_ID_TEXT},
|
||||
{"S_VOBSUB" , CODEC_ID_DVD_SUBTITLE},
|
||||
|
||||
{NULL , CODEC_ID_NONE}
|
||||
|
@ -2147,7 +2147,9 @@ matroska_read_header (AVFormatContext *s,
|
||||
else if (codec_id == CODEC_ID_TEXT) {
|
||||
MatroskaSubtitleTrack *subtrack=(MatroskaSubtitleTrack *)track;
|
||||
if (!strcmp(track->codec_id, "S_TEXT/ASS") ||
|
||||
!strcmp(track->codec_id, "S_TEXT/SSA"))
|
||||
!strcmp(track->codec_id, "S_TEXT/SSA") ||
|
||||
!strcmp(track->codec_id, "S_ASS") ||
|
||||
!strcmp(track->codec_id, "S_SSA"))
|
||||
subtrack->ass = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user