7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_
8 #define PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_
16 #include <packager/macros/classes.h>
17 #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;
45 int64_t CalculateSampleDuration(
int pps_id)
override;
47 NewStreamInfoCB new_stream_info_cb_;
50 std::shared_ptr<StreamInfo> last_video_decoder_config_;
51 bool decoder_config_check_pending_;
53 std::unique_ptr<H265Parser> h265_parser_;
All the methods that are virtual are virtual for mocking.