aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-03 10:44:25 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-03 10:44:25 +0000
commit44fb8ebb6214a51e0e672fd29df78aebbf1cff8a (patch)
tree0fad75f53c03f4f7206abef49976463d93b6167d /libavformat/movenc.c
parenta57c41b2c5fcb9ca51b855070c436e13dc4c5394 (diff)
downloadffmpeg-44fb8ebb6214a51e0e672fd29df78aebbf1cff8a.tar.gz
fix dnxhd 720p in mov for quicktime player
Originally committed as revision 11154 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 8dd00cdd09..1488858104 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -553,7 +553,10 @@ static int mov_write_avid_tag(ByteIOContext *pb, MOVTrack *track)
put_be32(pb, track->enc->height);
put_be32(pb, 1); /* unknown */
put_be32(pb, 0); /* unknown */
- put_be32(pb, 5); /* unknown */
+ if (track->enc->height == 1080)
+ put_be32(pb, 5); /* unknown */
+ else
+ put_be32(pb, 6); /* unknown */
}
/* padding */
for (i = 0; i < 10; i++)