# HG changeset patch # User lucabe # Date 1183706207 0 # Node ID 0d93ef692caafb36bde2a1ca3a76fc6c5cc12353 # Parent fa6c59a5ab0d53815004452ff15d3286c83410d6 Add support for non-blocking input formats diff -r fa6c59a5ab0d -r 0d93ef692caa avformat.h --- 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 */