avcodec: add some documentation to the AVProducerReferenceTime struct

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2020-02-21 11:06:06 -03:00
parent 3d4510384d
commit c48e5431c8
1 changed files with 8 additions and 0 deletions

View File

@ -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;