提交 caacd4de 编写于 作者: R Roine Gustafsson 提交者: Michael Niedermayer

add -vtag and-atag support to mov patch by (Roine Gustafsson <roine at users sourceforge net>)

Originally committed as revision 3756 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 90bb394d
......@@ -257,6 +257,8 @@ static int mov_write_audio_tag(ByteIOContext *pb, MOVTrack* track)
put_be32(pb, 0); /* size */
tag = track->enc->codec_tag;
if (!tag)
tag = codec_get_tag(codec_movaudio_tags, track->enc->codec_id);
// if no mac fcc found, try with Microsoft tags
if (!tag)
......@@ -453,6 +455,8 @@ static int mov_write_video_tag(ByteIOContext *pb, MOVTrack* track)
put_be32(pb, 0); /* size */
tag = track->enc->codec_tag;
if (!tag)
tag = codec_get_tag(codec_movvideo_tags, track->enc->codec_id);
// if no mac fcc found, try with Microsoft tags
if (!tag)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册