avcodec: add a Producer Reference Time AVPacketSideData type

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2019-10-04 11:54:28 -03:00
parent ea5a910628
commit 717b2074ec
5 changed files with 39 additions and 2 deletions
+10
View File
@@ -1176,6 +1176,11 @@ typedef struct AVCPBProperties {
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.
*/
@@ -1410,6 +1415,11 @@ enum AVPacketSideDataType {
*/
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