Commit 61d77ab3 authored by lucabe's avatar lucabe

Add support for non-blocking input formats


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9495 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 71d7678c
...@@ -399,6 +399,7 @@ typedef struct AVFormatContext { ...@@ -399,6 +399,7 @@ typedef struct AVFormatContext {
int flags; int flags;
#define AVFMT_FLAG_GENPTS 0x0001 ///< generate pts if missing even if it requires parsing future frames #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_IGNIDX 0x0002 ///< ignore index
#define AVFMT_FLAG_NONBLOCK 0x0004 ///< do not block when reading packets from input
int loop_input; int loop_input;
/** decoding: size of data to probe; encoding unused */ /** decoding: size of data to probe; encoding unused */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment