|
Shaka Packager SDK
|
#include <webm_parser.h>
Public Member Functions | |
| virtual WebMParserClient * | OnListStart (int id) |
| virtual bool | OnListEnd (int id) |
| virtual bool | OnUInt (int id, int64_t val) |
| virtual bool | OnFloat (int id, double val) |
| virtual bool | OnBinary (int id, const uint8_t *data, int size) |
| virtual bool | OnString (int id, const std::string &str) |
Protected Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (WebMParserClient) | |
Interface for receiving WebM parser events.
Each method is called when an element of the specified type is parsed. The ID of the element that was parsed is given along with the value stored in the element. List elements generate calls at the start and end of the list. Any pointers passed to these methods are only guaranteed to be valid for the life of that call. Each method (except for OnListStart) returns a bool that indicates whether the parsed data is valid. OnListStart returns a pointer to a WebMParserClient object, which should be used to handle elements parsed out of the list being started. If false (or NULL by OnListStart) is returned then the parse is immediately terminated and an error is reported by the parser.
Definition at line 29 of file webm_parser.h.
|
virtual |
Definition at line 653 of file webm_parser.cc.
|
protected |
Definition at line 652 of file webm_parser.cc.
|
virtual |
Definition at line 675 of file webm_parser.cc.
|
virtual |
Definition at line 670 of file webm_parser.cc.
|
virtual |
Definition at line 660 of file webm_parser.cc.
|
virtual |
Reimplemented in shaka::media::WebMContentEncodingsClient.
Definition at line 655 of file webm_parser.cc.
|
virtual |
Definition at line 680 of file webm_parser.cc.
|
virtual |
Definition at line 665 of file webm_parser.cc.