5 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_
6 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_
10 #include <packager/macros/classes.h>
11 #include <packager/media/formats/mp2t/ts_section_psi.h>
20 typedef std::function<void(
int,
int)> RegisterPmtCb;
22 explicit TsSectionPat(
const RegisterPmtCb& register_pmt_cb);
26 bool ParsePsiSection(
BitReader* bit_reader)
override;
27 void ResetPsiSection()
override;
30 RegisterPmtCb register_pmt_cb_;
All the methods that are virtual are virtual for mocking.