meta: make sequence number 64 bits

Add offset in current cycle
This commit is contained in:
Wim Taymans 2019-10-29 16:44:57 +01:00
parent 9b2d34c04b
commit a18c8df7d0
3 changed files with 7 additions and 4 deletions

View file

@ -78,10 +78,11 @@ struct spa_meta_header {
#define SPA_META_HEADER_FLAG_GAP (1 << 4) /**< data contains media neutral data */
#define SPA_META_HEADER_FLAG_DELTA_UNIT (1 << 5) /**< cannot be decoded independently */
uint32_t flags; /**< flags */
uint32_t seq; /**< sequence number, increments with a
uint32_t offset; /**< offset in current cycle */
uint64_t seq; /**< sequence number, increments with a
* media specific frequency */
int64_t pts; /**< presentation timestamp */
int64_t dts_offset; /**< decoding timestamp and a difference with pts */
int64_t dts_offset; /**< decoding timestamp as a difference with pts */
};
/** metadata structure for Region or an array of these for RegionArray */