Mercurial > libavformat.hg
diff avformat.h @ 2020:d0d39f124c6b libavformat
timestamps generation improvement when parsing avi
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use.
author | benoit |
---|---|
date | Fri, 13 Apr 2007 07:50:04 +0000 |
parents | 1a3c9056982a |
children | a3e79d6e4e3c |
line wrap: on
line diff
--- a/avformat.h Thu Apr 12 11:28:34 2007 +0000 +++ b/avformat.h Fri Apr 13 07:50:04 2007 +0000 @@ -25,8 +25,8 @@ extern "C" { #endif -#define LIBAVFORMAT_VERSION_INT ((51<<16)+(12<<8)+0) -#define LIBAVFORMAT_VERSION 51.12.0 +#define LIBAVFORMAT_VERSION_INT ((51<<16)+(12<<8)+1) +#define LIBAVFORMAT_VERSION 51.12.1 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) @@ -309,7 +309,8 @@ char language[4]; /** ISO 639 3-letter language code (empty string if undefined) */ /* av_read_frame() support */ - int need_parsing; ///< 1->full parsing needed, 2->only parse headers dont repack +#define AVSTREAM_PARSE_TIMESTAMPS 3 /**< full parsing and interpolation of timestamps for frames not starting on packet boundary */ + int need_parsing; ///< 1->full parsing needed, 2->only parse headers dont repack, 3->full parsing and interpolate timestamps struct AVCodecParserContext *parser; int64_t cur_dts;