API changes, most recent first:
+2020-01-15 - xxxxxxxxxx - lavc 58.66.100 - avcodec.h
+ Add AV_PKT_DATA_PRFT and AVProducerReferenceTime.
+
2019-12-27 - xxxxxxxxxx - lavu 56.38.100 - eval.h
Add av_expr_count_func().
uint64_t vbv_delay;
} AVCPBProperties;
+typedef struct AVProducerReferenceTime {
+ int64_t wallclock;
+ int flags;
+} AVProducerReferenceTime;
+
/**
* The decoder will keep a reference to the frame and may reuse it later.
*/
*/
AV_PKT_DATA_AFD,
+ /**
+ * Producer Reference Time data corresponding to the AVProducerReferenceTime struct.
+ */
+ AV_PKT_DATA_PRFT,
+
/**
* The number of side data types.
* This is not part of the public API/ABI in the sense that it may
return 0;
}
+
+int ff_side_data_set_prft(AVPacket *pkt, int64_t timestamp)
+{
+ AVProducerReferenceTime *prft;
+ uint8_t *side_data;
+ int side_data_size;
+
+ side_data = av_packet_get_side_data(pkt, AV_PKT_DATA_PRFT, &side_data_size);
+ if (!side_data) {
+ side_data_size = sizeof(AVProducerReferenceTime);
+ side_data = av_packet_new_side_data(pkt, AV_PKT_DATA_PRFT, side_data_size);
+ }
+
+ if (!side_data || side_data_size < sizeof(AVProducerReferenceTime))
+ return AVERROR(ENOMEM);
+
+ prft = (AVProducerReferenceTime *)side_data;
+ prft->wallclock = timestamp;
+ prft->flags = 0;
+
+ return 0;
+}
int ff_side_data_set_encoder_stats(AVPacket *pkt, int quality, int64_t *error, int error_count, int pict_type);
+int ff_side_data_set_prft(AVPacket *pkt, int64_t timestamp);
+
/**
* Check AVFrame for A53 side data and allocate and fill SEI message with A53 info
*
#include "libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 58
-#define LIBAVCODEC_VERSION_MINOR 65
-#define LIBAVCODEC_VERSION_MICRO 103
+#define LIBAVCODEC_VERSION_MINOR 66
+#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \