Mercurial > libavformat.hg
comparison avformat.h @ 2300:9c8cfadff191 libavformat
correct initial timestamps which have AV_NOPTS_VALUE
author | michael |
---|---|
date | Sat, 04 Aug 2007 22:46:13 +0000 |
parents | 59d84b0f7d30 |
children | 2adc9f64ecfb |
comparison
equal
deleted
inserted
replaced
2299:fe59c768ecf7 | 2300:9c8cfadff191 |
---|---|
278 * for example if the timebase is 1/90000 and all frames have either | 278 * for example if the timebase is 1/90000 and all frames have either |
279 * approximately 3600 or 1800 timer ticks then r_frame_rate will be 50/1 | 279 * approximately 3600 or 1800 timer ticks then r_frame_rate will be 50/1 |
280 */ | 280 */ |
281 AVRational r_frame_rate; | 281 AVRational r_frame_rate; |
282 void *priv_data; | 282 void *priv_data; |
283 | |
284 /* internal data used in av_find_stream_info() */ | |
285 int64_t first_dts; | |
283 #if LIBAVFORMAT_VERSION_INT < (52<<16) | 286 #if LIBAVFORMAT_VERSION_INT < (52<<16) |
284 /* internal data used in av_find_stream_info() */ | |
285 int64_t codec_info_duration; | |
286 int codec_info_nb_frames; | 287 int codec_info_nb_frames; |
287 #endif | 288 #endif |
288 /** encoding: PTS generation when outputing stream */ | 289 /** encoding: PTS generation when outputing stream */ |
289 struct AVFrac pts; | 290 struct AVFrac pts; |
290 | 291 |