diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-25 15:50:30 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-28 13:58:29 +0100 |
commit | f95d9510ff50ab76f310f4ad2e6471e11275b2ff (patch) | |
tree | 60d8ff7469d1ef6885889f87eb4969a6925663c8 /libavformat/avformat.h | |
parent | 201b1246e23671d54287234b525f58bef900baef (diff) |
avformat: add a stream event flag for new packets
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 3ad92a06e7..6aa7c310f7 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -995,6 +995,12 @@ typedef struct AVStream { * it into the file */ #define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 0x0001 +/** + * - demuxing: new packets for this stream were read from the file. This + * event is informational only and does not guarantee that new packets + * for this stream will necessarily be returned from av_read_frame(). + */ +#define AVSTREAM_EVENT_FLAG_NEW_PACKETS (1 << 1) /** * Real base framerate of the stream. |