Mercurial > libavformat.hg
changeset 1495:04909cf98da7 libavformat
partial support for vobsub in mp4, used by nero, unsupported-embedded-subs-2.mp4
author | bcoudurier |
---|---|
date | Tue, 14 Nov 2006 01:05:31 +0000 |
parents | f1b6a9a50eec |
children | 7e288adde245 |
files | mov.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Tue Nov 14 01:02:30 2006 +0000 +++ b/mov.c Tue Nov 14 01:05:31 2006 +0000 @@ -414,6 +414,10 @@ st->codec->codec_type = CODEC_TYPE_AUDIO; else if(type == MKTAG('m', '1', 'a', ' ')) st->codec->codec_id = CODEC_ID_MP2; + else if(type == MKTAG('s', 'u', 'b', 'p')) { + st->codec->codec_type = CODEC_TYPE_SUBTITLE; + st->codec->codec_id = CODEC_ID_DVD_SUBTITLE; + } get_be32(pb); /* component manufacture */ get_be32(pb); /* component flags */ get_be32(pb); /* component flags mask */