Mercurial > libavformat.hg
comparison avformat.h @ 464:09e46bfc859c libavformat
cur_dts in native timebase
author | michael |
---|---|
date | Sun, 23 May 2004 21:36:23 +0000 |
parents | 696f41bc8784 |
children | 60f897e8dd2d |
comparison
equal
deleted
inserted
replaced
463:696f41bc8784 | 464:09e46bfc859c |
---|---|
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 #define LIBAVFORMAT_BUILD 4613 | 8 #define LIBAVFORMAT_BUILD 4614 |
9 | 9 |
10 #define LIBAVFORMAT_VERSION_INT FFMPEG_VERSION_INT | 10 #define LIBAVFORMAT_VERSION_INT FFMPEG_VERSION_INT |
11 #define LIBAVFORMAT_VERSION FFMPEG_VERSION | 11 #define LIBAVFORMAT_VERSION FFMPEG_VERSION |
12 #define LIBAVFORMAT_IDENT "FFmpeg" FFMPEG_VERSION "b" AV_STRINGIFY(LIBAVFORMAT_BUILD) | 12 #define LIBAVFORMAT_IDENT "FFmpeg" FFMPEG_VERSION "b" AV_STRINGIFY(LIBAVFORMAT_BUILD) |
13 | 13 |
226 int64_t start_time; | 226 int64_t start_time; |
227 /* decoding: duration of the stream, in AV_TIME_BASE fractional | 227 /* decoding: duration of the stream, in AV_TIME_BASE fractional |
228 seconds. */ | 228 seconds. */ |
229 int64_t duration; | 229 int64_t duration; |
230 | 230 |
231 /* the following are used for pts/dts unit conversion */ | |
232 int64_t last_pkt_stream_pts; | |
233 int64_t last_pkt_stream_dts; | |
234 int64_t last_pkt_pts; | |
235 int64_t last_pkt_dts; | |
236 int last_pkt_pts_frac; | |
237 int last_pkt_dts_frac; | |
238 | |
239 /* av_read_frame() support */ | 231 /* av_read_frame() support */ |
240 int need_parsing; | 232 int need_parsing; |
241 struct AVCodecParserContext *parser; | 233 struct AVCodecParserContext *parser; |
242 | 234 |
243 int64_t cur_dts; | 235 int64_t cur_dts; |
244 int last_IP_duration; | 236 int last_IP_duration; |
237 int64_t last_IP_pts; | |
245 /* av_seek_frame() support */ | 238 /* av_seek_frame() support */ |
246 AVIndexEntry *index_entries; /* only used if the format does not | 239 AVIndexEntry *index_entries; /* only used if the format does not |
247 support seeking natively */ | 240 support seeking natively */ |
248 int nb_index_entries; | 241 int nb_index_entries; |
249 int index_entries_allocated_size; | 242 int index_entries_allocated_size; |