diff options
author | James Almer <jamrial@gmail.com> | 2020-02-21 11:06:06 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-02-22 23:19:08 -0300 |
commit | c48e5431c8edeae1e10482df5e179a9c02479662 (patch) | |
tree | b36cc5cdcab8bf4bc887481b098ce950d5d7da3c /libavcodec/avcodec.h | |
parent | 3d4510384dd39a2ffc93c4bb94e63e232deff0ad (diff) | |
download | ffmpeg-c48e5431c8edeae1e10482df5e179a9c02479662.tar.gz |
avcodec: add some documentation to the AVProducerReferenceTime struct
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
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; |