[SCM] libav/experimental: mov: Write prof section of tapt tag

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:02:59 UTC 2014


The following commit has been merged in the experimental branch:
commit 802385dbc2c57abd76f6a00e32f3df35e9526c08
Author: Aidan Skinner <aidan at skinner.me.uk>
Date:   Mon Apr 21 14:47:38 2014 +0100

    mov: Write prof section of tapt tag
    
    Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

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/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list