summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2007-07-06 07:16:47 +0000
committerLuca Abeni <lucabe72@email.it>2007-07-06 07:16:47 +0000
commitbf09c2e2a6e668b34ef777a38381b330d89448d1 (patch)
tree182c6a81a85c3796553f6e26c8d304b36df101db
parent32a4d995ea9a7bf4c1bf63d1cf475f3c5706edd6 (diff)
Add support for non-blocking input formats
Originally committed as revision 9495 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avformat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3c61e192ed..3d199a867b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -399,6 +399,7 @@ typedef struct AVFormatContext {
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 */