5 #ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
6 #define 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 scoped_refptr<StreamInfo> last_video_decoder_config_;
47 bool decoder_config_check_pending_;
49 std::unique_ptr<H264Parser> h264_parser_;