@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09
API changes, most recent first:
+2023-04-11 - xxxxxxxxxx - lavc 60.10.100 - avcodec.h
+ Add event_flags to AVCodecContext.
+
2023-04-04 - xxxxxxxxxx - lavu 58.6.100 - hdr_dynamic_metadata.h
Add AV_HDR_PLUS_MAX_PAYLOAD_SIZE.
av_dynamic_hdr_plus_create_side_data() now accepts a user provided
@@ -2087,6 +2087,20 @@ typedef struct AVCodecContext {
* an error.
*/
int64_t frame_num;
+
+ /**
+ * Flags indicating events happening on the stream, a combination of
+ * AVCTX_EVENT_FLAG_*.
+ *
+ * - decoding: may be set by the decoder in avcodec_open2(),
+ * avcodec_send_packet() and avcodec_receive_frame(). Flags must be
+ * cleared by the user once the event has been handled.
+ * - encoding: may be set by the user after avcodec_open2(), to
+ * indicate a user-triggered event. The encoder will clear the flags
+ * for events it has handled in avcodec_send_frame() and
+ * avcodec_receive_{packet,frame}().
+ */
+ int event_flags;
} AVCodecContext;
/**
@@ -29,7 +29,7 @@
#include "version_major.h"
-#define LIBAVCODEC_VERSION_MINOR 9
+#define LIBAVCODEC_VERSION_MINOR 10
#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
Signed-off-by: James Almer <jamrial@gmail.com> --- doc/APIchanges | 3 +++ libavcodec/avcodec.h | 14 ++++++++++++++ libavcodec/version.h | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-)