dashenc: Heuristically fill in the duration of packets that need it
authorMartin Storsjö <martin@martin.st>
Fri, 6 Mar 2015 20:30:31 +0000 (22:30 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 19 Mar 2015 08:27:03 +0000 (10:27 +0200)
commit3041183677bda0a431b36e96a2c76617abaa8183
treec3903db3f0c2e7e94d156166cd221b6932245e9d
parent2889c5e16711770437f380f1bead5f72c6a0b17a
dashenc: Heuristically fill in the duration of packets that need it

This avoids that the mp4 muxer does a similar heuristic, adjusting
the timestamps in a way that the dash muxer doesn't know the actual
timestamps written to the file in the end. By making sure that the
mp4 muxer internal heuristic isn't applied, we know the exact
timestamps written to file, so that the timestamps in manifest match
the files.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/dashenc.c