mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 03:34:56 +00:00
little h.264 related hunk from diff between cvs and mobile hackerz
Originally committed as revision 5268 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9e282ba382
commit
87b041e0f0
@ -1546,8 +1546,15 @@ static void mov_write_uuidprof_tag(ByteIOContext *pb, AVFormatContext *s)
|
|||||||
put_tag(pb, "VPRF"); /* video */
|
put_tag(pb, "VPRF"); /* video */
|
||||||
put_be32(pb, 0x0 );
|
put_be32(pb, 0x0 );
|
||||||
put_be32(pb, 0x1 ); /* TrackID */
|
put_be32(pb, 0x1 ); /* TrackID */
|
||||||
put_tag(pb, "mp4v");
|
if (VideoCodec->codec_id == CODEC_ID_H264) {
|
||||||
put_be32(pb, 0x103 );
|
put_tag(pb, "avc1");
|
||||||
|
put_be16(pb, 0x014D );
|
||||||
|
put_be16(pb, 0x0015 );
|
||||||
|
} else {
|
||||||
|
put_tag(pb, "mp4v");
|
||||||
|
put_be16(pb, 0x0000 );
|
||||||
|
put_be16(pb, 0x0103 );
|
||||||
|
}
|
||||||
put_be32(pb, 0x0 );
|
put_be32(pb, 0x0 );
|
||||||
put_be32(pb, video_kbitrate);
|
put_be32(pb, video_kbitrate);
|
||||||
put_be32(pb, video_kbitrate);
|
put_be32(pb, video_kbitrate);
|
||||||
|
Loading…
Reference in New Issue
Block a user