movenc: Indicate that negative timestamps are supported
authorMartin Storsjö <martin@martin.st>
Sat, 17 Aug 2013 16:05:53 +0000 (17:05 +0100)
committerMartin Storsjö <martin@martin.st>
Sat, 17 Aug 2013 21:46:11 +0000 (22:46 +0100)
commit0a14fefd68cc18ce3252edff8a05ee9b3945b694
treeef460ae4f303421c2eb8983c154af77d7fab1818
parentc34a96a5ddfa390ce2a352eca79190766c9056d4
movenc: Indicate that negative timestamps are supported

The mov/mp4 muxer has support for handling negative timestamps
via edit lists (which customarily is used for handling the 1-frame
delay due to B-frames as well).

Using the muxer's native way of handling it is better than using
the generic offsetting. The generic offsetting is a bit too
crude when e.g. the timebase of one track is 1/fps, where the
edit lists can handle it accurately.

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