summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorAidan Skinner <aidan@skinner.me.uk>2014-04-21 14:47:38 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-04-25 17:38:19 +0200
commit802385dbc2c57abd76f6a00e32f3df35e9526c08 (patch)
tree44389e56f80406a043a83e4a7b2950a030daea07 /libavformat/movenc.c
parent8de77b665d2a2f1cd560d2183fd4664298b30715 (diff)
mov: Write prof section of tapt tag
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index afc73cae63..8b53232ba1 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);