Mercurial > libavformat.hg
changeset 2220:0d93ef692caa libavformat
Add support for non-blocking input formats
author | lucabe |
---|---|
date | Fri, 06 Jul 2007 07:16:47 +0000 |
parents | fa6c59a5ab0d |
children | efb7b615d57c |
files | avformat.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avformat.h Thu Jul 05 20:58:34 2007 +0000 +++ b/avformat.h Fri Jul 06 07:16:47 2007 +0000 @@ -399,6 +399,7 @@ int flags; #define AVFMT_FLAG_GENPTS 0x0001 ///< generate pts if missing even if it requires parsing future frames #define AVFMT_FLAG_IGNIDX 0x0002 ///< ignore index +#define AVFMT_FLAG_NONBLOCK 0x0004 ///< do not block when reading packets from input int loop_input; /** decoding: size of data to probe; encoding unused */