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