7 #ifndef MEDIA_FORMATS_WEBM_SEEK_HEAD_H_
8 #define MEDIA_FORMATS_WEBM_SEEK_HEAD_H_
13 #include "base/macros.h"
14 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
28 bool Write(mkvmuxer::IMkvWriter* writer);
30 bool WriteVoid(mkvmuxer::IMkvWriter* writer);
32 void set_cluster_pos(uint64_t pos) { cluster_pos_ = pos; }
33 void set_cues_pos(uint64_t pos) { cues_pos_ = pos; }
34 void set_info_pos(uint64_t pos) { info_pos_ = pos; }
35 void set_tracks_pos(uint64_t pos) { tracks_pos_ = pos; }
38 uint64_t GetPayloadSize(std::vector<uint64_t>* data);
52 #endif // MEDIA_FORMATS_WEBM_SEEK_HEAD_H_