Document the unit on spa_meta_header::pts

It's nanoseconds
This commit is contained in:
Aleix Pol 2022-01-13 18:27:27 +01:00 committed by Wim Taymans
parent 11e57de7b0
commit 8f9bd42d93

View file

@ -81,7 +81,7 @@ struct spa_meta_header {
#define SPA_META_HEADER_FLAG_DELTA_UNIT (1 << 5) /**< cannot be decoded independently */ #define SPA_META_HEADER_FLAG_DELTA_UNIT (1 << 5) /**< cannot be decoded independently */
uint32_t flags; /**< flags */ uint32_t flags; /**< flags */
uint32_t offset; /**< offset in current cycle */ uint32_t offset; /**< offset in current cycle */
int64_t pts; /**< presentation timestamp */ int64_t pts; /**< presentation timestamp in nanoseconds */
int64_t dts_offset; /**< decoding timestamp as a difference with pts */ int64_t dts_offset; /**< decoding timestamp as a difference with pts */
uint64_t seq; /**< sequence number, increments with a uint64_t seq; /**< sequence number, increments with a
* media specific frequency */ * media specific frequency */