mov.c: reasonable bitrate for fragmented mp4
authorMika Raento <mikie@iki.fi>
Tue, 21 Oct 2014 12:04:10 +0000 (15:04 +0300)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 21 Oct 2014 16:06:18 +0000 (18:06 +0200)
commit17702f1fc58464e9ca4fd5a5b2cf24207a65c4fd
tree995ad820054c2cc801b563b45a4a35df60fbe5d6
parent059c842818a11cfa714cb2007ed0aab95f2ff765
mov.c: reasonable bitrate for fragmented mp4

If using MFRA for timestamps, the stream may start from a large offset
and/or have gaps. With this change we calculate the bitrate based on
frames we've seen.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mov.c