lavf: Add an option for avoiding negative timestamps

Multimedia / Libav - Michael Niedermayer [gmx.at] - 7 November 2014 04:11 UTC

This is the same logic as is invoked on AVFMT_TS_NEGATIVE, but which can be enabled manually, or can be enabled in muxers which only need it in certain conditions.

Also allow using the same mechanism to force streams to start at 0.

1384df6 lavf: Add an option for avoiding negative timestamps
doc/APIchanges | 3 +++
libavformat/avformat.h | 12 ++++++++++++
libavformat/mux.c | 12 ++++++++++--
libavformat/options_table.h | 4 ++++
libavformat/version.h | 2 +-
5 files changed, 30 insertions(+), 3 deletions(-)

Upstream: git.libav.org


  • Share