From c48e5431c8edeae1e10482df5e179a9c02479662 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 21 Feb 2020 11:06:06 -0300 Subject: [PATCH] avcodec: add some documentation to the AVProducerReferenceTime struct Signed-off-by: James Almer --- libavcodec/avcodec.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 82dce38bb8..894a9e5565 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1194,7 +1194,15 @@ typedef struct AVCPBProperties { uint64_t vbv_delay; } AVCPBProperties; +/** + * This structure supplies correlation between a packet timestamp and a wall clock + * production time. The definition follows the Producer Reference Time ('prft') + * as defined in ISO/IEC 14496-12 + */ typedef struct AVProducerReferenceTime { + /** + * A UTC timestamp, in microseconds, since Unix epoch (e.g, av_gettime()). + */ int64_t wallclock; int flags; } AVProducerReferenceTime;