Shaka Packager SDK
Classes | Public Member Functions | List of all members
shaka::media::SeekHead Class Reference

#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)
 

Detailed Description

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 20 of file seek_head.h.

Member Function Documentation

◆ Write()

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 51 of file seek_head.cc.


The documentation for this class was generated from the following files: