summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-02-21 11:06:06 -0300
committerJames Almer <jamrial@gmail.com>2020-02-22 23:19:08 -0300
commitc48e5431c8edeae1e10482df5e179a9c02479662 (patch)
treeb36cc5cdcab8bf4bc887481b098ce950d5d7da3c /libavcodec
parent3d4510384dd39a2ffc93c4bb94e63e232deff0ad (diff)
avcodec: add some documentation to the AVProducerReferenceTime struct
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 8 insertions, 0 deletions
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;