qtdemux: Fix order of bitrates in 'btrt' atom
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 6 Jul 2010 07:51:19 +0000 (13:21 +0530)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 6 Jul 2010 09:33:16 +0000 (10:33 +0100)
commit8aed3176ce65a1963d1b2bea8b9ed110714ca4e2
tree09b93bb1131349eb52ce03ac3966f17c1b9cc8e0
parent6f84bbe34e95bedb58a53f8ec5b56a1f15304485
qtdemux: Fix order of bitrates in 'btrt' atom

There seems to be a bug in libmp4v2 that generates a MPEG4BitRateBox as
(bufferSizeDB, avgBitrate, maxBitrate) instead of (bufferSizeDB,
maxBitrate, avgBitrate), according to the spec. I used the mp4file
output while writing this code, so the order is wrong. This patches
fixes that.

https://bugzilla.gnome.org/show_bug.cgi?id=623654
gst/qtdemux/qtdemux.c