7 #ifndef PACKAGER_MEDIA_FORMATS_WEBVTT_TEXT_PADDER_H_ 8 #define PACKAGER_MEDIA_FORMATS_WEBVTT_TEXT_PADDER_H_ 10 #include "packager/media/base/media_handler.h" 27 explicit TextPadder(int64_t zero_start_bias_ms);
34 Status InitializeInternal()
override;
36 Status Process(std::unique_ptr<StreamData> data)
override;
37 Status OnTextSample(std::unique_ptr<StreamData> data);
39 const int64_t zero_start_bias_ms_;
42 int64_t max_end_time_ms_ = -1;
48 #endif // MEDIA_FORMATS_WEBVTT_TEXT_PADDER_H_
All the methods that are virtual are virtual for mocking.
TextPadder(int64_t zero_start_bias_ms)