5 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
6 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
8 #include "packager/base/callback.h"
9 #include "packager/base/compiler_specific.h"
10 #include "packager/media/formats/mp2t/ts_section_psi.h"
11 #include "packager/media/formats/mp2t/ts_stream_type.h"
22 typedef base::Callback<void(
int, TsStreamType,
const uint8_t*,
size_t)>
25 explicit TsSectionPmt(
const RegisterPesCb& register_pes_cb);
29 bool ParsePsiSection(
BitReader* bit_reader)
override;
30 void ResetPsiSection()
override;
33 RegisterPesCb register_pes_cb_;
All the methods that are virtual are virtual for mocking.