DASH Media Packaging SDK
|
#include <seek_head.h>
Public Member Functions | |
bool | Write (mkvmuxer::IMkvWriter *writer) |
bool | WriteVoid (mkvmuxer::IMkvWriter *writer) |
Writes a void element large enough to fit the SeekHead. | |
void | set_cluster_pos (uint64_t pos) |
void | set_cues_pos (uint64_t pos) |
void | set_info_pos (uint64_t pos) |
void | set_tracks_pos (uint64_t pos) |
Used to write the SeekHead to the output stream. This supports non-seekable files and setting the values before write; this also supports updating.
Definition at line 21 of file seek_head.h.
bool shaka::media::SeekHead::Write | ( | mkvmuxer::IMkvWriter * | writer | ) |
Writes the seek head to the given writer. This should only be called once. For seekable files, use WriteVoid first, then call this method.
Definition at line 47 of file seek_head.cc.