mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
Add support for non-blocking input formats
Originally committed as revision 9495 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
32a4d995ea
commit
bf09c2e2a6
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user