diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-05-26 04:20:32 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-05-26 04:20:32 +0000 |
commit | 74a6df59e3bc206931e8e7270c4bb6af77c6e5dc (patch) | |
tree | d18c34e54a3c4e7546dba4ad2004463faaeac263 /libavformat/avformat.h | |
parent | 9069b7d35fba37e0e0d9dbb44f03c10ff2e50acf (diff) | |
download | ffmpeg-74a6df59e3bc206931e8e7270c4bb6af77c6e5dc.tar.gz |
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.
Originally committed as revision 23332 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 47b017815b..0b122d1a02 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -22,7 +22,7 @@ #define AVFORMAT_AVFORMAT_H #define LIBAVFORMAT_VERSION_MAJOR 52 -#define LIBAVFORMAT_VERSION_MINOR 65 +#define LIBAVFORMAT_VERSION_MINOR 66 #define LIBAVFORMAT_VERSION_MICRO 0 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ @@ -377,6 +377,7 @@ enum AVStreamParseType { AVSTREAM_PARSE_FULL, /**< full parsing and repack */ AVSTREAM_PARSE_HEADERS, /**< Only parse headers, do not repack. */ AVSTREAM_PARSE_TIMESTAMPS, /**< full parsing and interpolation of timestamps for frames not starting on a packet boundary */ + AVSTREAM_PARSE_FULL_ONCE, /**< full parsing and repack of the first frame only, only implemented for H.264 currently */ }; typedef struct AVIndexEntry { |