5 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
6 #define PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
12 #include <packager/media/formats/mp2t/es_parser_h26x.h>
29 const NewStreamInfoCB& new_stream_info_cb,
30 const EmitSampleCB& emit_sample_cb);
34 void Reset()
override;
42 bool UpdateVideoDecoderConfig(
int sps_id)
override;
44 int64_t CalculateSampleDuration(
int pps_id)
override;
46 NewStreamInfoCB new_stream_info_cb_;
48 std::shared_ptr<StreamInfo> last_video_decoder_config_;
49 bool decoder_config_check_pending_;
51 std::unique_ptr<H264Parser> h264_parser_;
All the methods that are virtual are virtual for mocking.