diff options
author | James Almer <jamrial@gmail.com> | 2019-10-04 11:54:28 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-01-15 23:33:41 -0300 |
commit | 717b2074ecf3ade6b213ee8d67efa23f12a4e67e (patch) | |
tree | aed0c73697a812fb098d16e2d72038fc9e029529 /libavcodec/avcodec.h | |
parent | ea5a9106287b85ea702a13e83778f80dab51143b (diff) |
avcodec: add a Producer Reference Time AVPacketSideData type
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 119b32dc1f..4b0e7c0853 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -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. */ @@ -1411,6 +1416,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 * change when new side data types are added. |