diff --git a/libheif/box.h b/libheif/box.h index d295d6329e..7edf2c72bf 100644 --- a/libheif/box.h +++ b/libheif/box.h @@ -1059,11 +1059,7 @@ class Box_udes : public FullBox }; -/** - * TAI Clock Info - * - * Information about the source clock that generates the timestamps - */ + class Box_taic : public FullBox { public: @@ -1127,12 +1123,7 @@ class Box_taic : public FullBox uint8_t m_clock_source; }; -/** - * TAI Timestamp Box - * - * Nano-Precision Timestamp Property - * - */ + class Box_itai : public FullBox { public: diff --git a/libheif/heif_properties.h b/libheif/heif_properties.h index 3aec79bb34..b5c9b6fc87 100644 --- a/libheif/heif_properties.h +++ b/libheif/heif_properties.h @@ -159,11 +159,12 @@ struct heif_error heif_property_get_clock_info(const struct heif_context* contex heif_item_id itemId, struct heif_property_clock_info** out); +// The 'itai' TAI Timestamp Box indicates the time in nanoseconds since January 1, 1958 struct heif_property_timestamp { uint32_t version; uint8_t flags; - + uint64_t tai_timestamp; uint8_t status_bits; };