Shaka Packager SDK
|
Parser for WebM Info element. More...
#include <webm_info_parser.h>
Public Member Functions | |
int | Parse (const uint8_t *buf, int size) |
int64_t | timecode_scale () const |
double | duration () const |
std::chrono::system_clock::time_point | date_utc () const |
Additional Inherited Members | |
Protected Member Functions inherited from shaka::media::WebMParserClient | |
DISALLOW_COPY_AND_ASSIGN (WebMParserClient) | |
Parser for WebM Info element.
Definition at line 17 of file webm_info_parser.h.
int shaka::media::WebMInfoParser::Parse | ( | const uint8_t * | buf, |
int | size | ||
) |
Parses a WebM Info element in |buf|.
Definition at line 28 of file webm_info_parser.cc.