[FFmpeg-cvslog] avcodec: add some documentation to the AVProducerReferenceTime struct

James Almer git at videolan.org
Sun Feb 23 05:11:57 EET 2020


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Feb 21 11:06:06 2020 -0300| [c48e5431c8edeae1e10482df5e179a9c02479662] | committer: James Almer

avcodec: add some documentation to the AVProducerReferenceTime struct

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c48e5431c8edeae1e10482df5e179a9c02479662
---

 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;



More information about the ffmpeg-cvslog mailing list