28 int Parse(
const uint8_t* buf,
int size);
30 int64_t timecode_scale()
const {
return timecode_scale_; }
31 double duration()
const {
return duration_; }
32 std::chrono::system_clock::time_point date_utc()
const {
return date_utc_; }
37 bool OnListEnd(
int id)
override;
38 bool OnUInt(
int id, int64_t val)
override;
39 bool OnFloat(
int id,
double val)
override;
40 bool OnBinary(
int id,
const uint8_t* data,
int size)
override;
41 bool OnString(
int id,
const std::string& str)
override;
43 int64_t timecode_scale_;
45 std::chrono::system_clock::time_point date_utc_;