5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_
6 #define 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"
12 namespace edash_packager {
19 typedef base::Callback<void(int, int)> RegisterPmtCb;
21 explicit TsSectionPat(
const RegisterPmtCb& register_pmt_cb);
25 virtual bool ParsePsiSection(
BitReader* bit_reader) OVERRIDE;
26 virtual void ResetPsiSection() OVERRIDE;
29 RegisterPmtCb register_pmt_cb_;