Module: libav
Branch: master
Commit: 802385dbc2c57abd76f6a00e32f3df35e9526c08

Author:    Aidan Skinner <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Mon Apr 21 14:47:38 2014 +0100

mov: Write prof section of tapt tag

Signed-off-by: Luca Barbato <[email protected]>

---

 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);

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to