Mercurial > libavformat.hg
comparison avformat.h @ 841:ba7631ba33a7 libavformat
support fixing missing pts by parsing future frames
author | michael |
---|---|
date | Mon, 15 Aug 2005 14:22:43 +0000 |
parents | e3a3fe90b62f |
children | 43210d766412 |
comparison
equal
deleted
inserted
replaced
840:8834d33b7ca1 | 841:ba7631ba33a7 |
---|---|
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 #define LIBAVFORMAT_VERSION_INT ((49<<16)+(0<<8)+0) | 8 #define LIBAVFORMAT_VERSION_INT ((49<<16)+(1<<8)+0) |
9 #define LIBAVFORMAT_VERSION 49.0.0 | 9 #define LIBAVFORMAT_VERSION 49.1.0 |
10 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT | 10 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT |
11 | 11 |
12 #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) | 12 #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) |
13 | 13 |
14 #include <time.h> | 14 #include <time.h> |
330 #define AVFMT_NOOUTPUTLOOP -1 | 330 #define AVFMT_NOOUTPUTLOOP -1 |
331 #define AVFMT_INFINITEOUTPUTLOOP 0 | 331 #define AVFMT_INFINITEOUTPUTLOOP 0 |
332 /* number of times to loop output in formats that support it */ | 332 /* number of times to loop output in formats that support it */ |
333 int loop_output; | 333 int loop_output; |
334 | 334 |
335 int flags; | |
336 #define AVFMT_FLAG_GENPTS 0x0001 ///< generate pts if missing even if it requires parsing future frames | |
335 } AVFormatContext; | 337 } AVFormatContext; |
336 | 338 |
337 typedef struct AVPacketList { | 339 typedef struct AVPacketList { |
338 AVPacket pkt; | 340 AVPacket pkt; |
339 struct AVPacketList *next; | 341 struct AVPacketList *next; |