5 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_ 6 #define PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_ 10 #include "packager/base/callback.h" 11 #include "packager/media/formats/mp2t/es_parser_h26x.h" 28 const NewStreamInfoCB& new_stream_info_cb,
29 const EmitSampleCB& emit_sample_cb);
33 void Reset()
override;
41 bool UpdateVideoDecoderConfig(
int sps_id)
override;
44 NewStreamInfoCB new_stream_info_cb_;
46 std::shared_ptr<StreamInfo> last_video_decoder_config_;
47 bool decoder_config_check_pending_;
49 std::unique_ptr<H264Parser> h264_parser_;
All the methods that are virtual are virtual for mocking.