[FFmpeg-cvslog] mov: Write prof section of tapt tag

Aidan Skinner git at videolan.org
Fri Apr 25 21:02:55 CEST 2014


ffmpeg | branch: master | Aidan Skinner <aidan at skinner.me.uk> | Mon Apr 21 14:47:38 2014 +0100| [802385dbc2c57abd76f6a00e32f3df35e9526c08] | committer: Luca Barbato

mov: Write prof section of tapt tag

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=802385dbc2c57abd76f6a00e32f3df35e9526c08
---

 libavformat/movenc.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index afc73ca..8b53232 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1528,6 +1528,12 @@ static int mov_write_tapt_tag(AVIOContext *pb, MOVTrack *track)
     avio_wb32(pb, track->enc->height << 16);
 
     avio_wb32(pb, 20);
+    ffio_wfourcc(pb, "prof");
+    avio_wb32(pb, 0);
+    avio_wb32(pb, width << 16);
+    avio_wb32(pb, track->enc->height << 16);
+
+    avio_wb32(pb, 20);
     ffio_wfourcc(pb, "enof");
     avio_wb32(pb, 0);
     avio_wb32(pb, track->enc->width << 16);



More information about the ffmpeg-cvslog mailing list