7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_ 8 #define PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_ 16 #include "packager/base/callback.h" 17 #include "packager/base/compiler_specific.h" 18 #include "packager/media/formats/mp2t/es_parser_h26x.h" 30 const NewStreamInfoCB& new_stream_info_cb,
31 const EmitSampleCB& emit_sample_cb);
35 void Reset()
override;
43 bool UpdateVideoDecoderConfig(
int sps_id)
override;
46 NewStreamInfoCB new_stream_info_cb_;
49 std::shared_ptr<StreamInfo> last_video_decoder_config_;
50 bool decoder_config_check_pending_;
52 std::unique_ptr<H265Parser> h265_parser_;
59 #endif // PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_
All the methods that are virtual are virtual for mocking.