Commit 8cb97693 authored by Baptiste Coudurier's avatar Baptiste Coudurier

partial support for vobsub in mp4, used by nero, unsupported-embedded-subs-2.mp4

Originally committed as revision 7032 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9eb88fde
......@@ -414,6 +414,10 @@ static int mov_read_hdlr(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment