DASH Media Packaging SDK
|
Helper class used to parse a Video element inside a TrackEntry element. More...
#include <webm_video_client.h>
Public Member Functions | |
void | Reset () |
Reset this object's state so it can process a new video track element. | |
scoped_refptr< VideoStreamInfo > | GetVideoStreamInfo (int64_t track_num, const std::string &codec_id, const std::vector< uint8_t > &codec_private, bool is_encrypted) |
Public Member Functions inherited from shaka::media::WebMParserClient | |
virtual WebMParserClient * | OnListStart (int id) |
virtual bool | OnListEnd (int id) |
virtual bool | OnString (int id, const std::string &str) |
Additional Inherited Members | |
Protected Member Functions inherited from shaka::media::WebMParserClient | |
DISALLOW_COPY_AND_ASSIGN (WebMParserClient) | |
Helper class used to parse a Video element inside a TrackEntry element.
Definition at line 20 of file webm_video_client.h.
scoped_refptr< VideoStreamInfo > shaka::media::WebMVideoClient::GetVideoStreamInfo | ( | int64_t | track_num, |
const std::string & | codec_id, | ||
const std::vector< uint8_t > & | codec_private, | ||
bool | is_encrypted | ||
) |
Create a VideoStreamInfo with the data in |track_num|, |codec_id|, |codec_private|, |is_encrypted| and the fields parsed from the last video track element this object was used to parse.
Definition at line 50 of file webm_video_client.cc.