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