Mercurial > libavformat.hg
comparison avformat.h @ 1175:8b53c0f3e7ad libavformat
add loop_input to AVFormatContext, getting rid of old hack
patch by Vctor Paesa <wzrlpy at arsystel com>
author | mru |
---|---|
date | Thu, 13 Jul 2006 21:13:49 +0000 |
parents | d89d7ef290da |
children | 13dc486b272b |
comparison
equal
deleted
inserted
replaced
1174:1c9ddfd961d6 | 1175:8b53c0f3e7ad |
---|---|
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 ((50<<16)+(4<<8)+0) | 8 #define LIBAVFORMAT_VERSION_INT ((50<<16)+(5<<8)+0) |
9 #define LIBAVFORMAT_VERSION 50.4.0 | 9 #define LIBAVFORMAT_VERSION 50.5.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> |
335 /* number of times to loop output in formats that support it */ | 335 /* number of times to loop output in formats that support it */ |
336 int loop_output; | 336 int loop_output; |
337 | 337 |
338 int flags; | 338 int flags; |
339 #define AVFMT_FLAG_GENPTS 0x0001 ///< generate pts if missing even if it requires parsing future frames | 339 #define AVFMT_FLAG_GENPTS 0x0001 ///< generate pts if missing even if it requires parsing future frames |
340 | |
341 int loop_input; | |
340 } AVFormatContext; | 342 } AVFormatContext; |
341 | 343 |
342 typedef struct AVPacketList { | 344 typedef struct AVPacketList { |
343 AVPacket pkt; | 345 AVPacket pkt; |
344 struct AVPacketList *next; | 346 struct AVPacketList *next; |