Browse Source

avcodec: add some documentation to the AVProducerReferenceTime struct

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.3
James Almer 6 years ago
parent
commit
c48e5431c8
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      libavcodec/avcodec.h

+ 8
- 0
libavcodec/avcodec.h 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;


Loading…
Cancel
Save