From bf09c2e2a6e668b34ef777a38381b330d89448d1 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Fri, 6 Jul 2007 07:16:47 +0000 Subject: Add support for non-blocking input formats Originally committed as revision 9495 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat') diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 3c61e19..3d199a8 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 */ -- cgit v1.1