5 #ifndef PACKAGER_MEDIA_CODECS_WEBVTT_UTIL_H_ 6 #define PACKAGER_MEDIA_CODECS_WEBVTT_UTIL_H_ 15 void MakeSideData(T id_begin,
19 std::vector<uint8_t>* side_data) {
25 side_data->insert(side_data->end(), id_begin, id_end);
26 side_data->push_back(0);
27 side_data->insert(side_data->end(), settings_begin, settings_end);
28 side_data->push_back(0);
34 #endif // PACKAGER_MEDIA_CODECS_WEBVTT_UTIL_H_ All the methods that are virtual are virtual for mocking.