5 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_
6 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_
8 #include "packager/base/compiler_specific.h"
9 #include "packager/media/base/byte_queue.h"
10 #include "packager/media/formats/mp2t/ts_section.h"
25 bool Parse(
bool payload_unit_start_indicator,
28 bool Flush()
override;
29 void Reset()
override;
32 virtual bool ParsePsiSection(
BitReader* bit_reader) = 0;
35 virtual void ResetPsiSection() = 0;
47 int leading_bytes_to_discard_;
All the methods that are virtual are virtual for mocking.