5 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_ 6 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_ 8 #include "packager/base/callback.h" 9 #include "packager/base/compiler_specific.h" 10 #include "packager/media/formats/mp2t/ts_section_psi.h" 19 typedef base::Callback<void(int, int)> RegisterPmtCb;
21 explicit TsSectionPat(
const RegisterPmtCb& register_pmt_cb);
25 bool ParsePsiSection(
BitReader* bit_reader)
override;
26 void ResetPsiSection()
override;
29 RegisterPmtCb register_pmt_cb_;
All the methods that are virtual are virtual for mocking.