DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | List of all members
shaka::media::WebMInfoParser Class Reference

Parser for WebM Info element. More...

#include <webm_info_parser.h>

Inheritance diagram for shaka::media::WebMInfoParser:
shaka::media::WebMParserClient

Public Member Functions

int Parse (const uint8_t *buf, int size)
 
int64_t timecode_scale () const
 
double duration () const
 
base::Time date_utc () const
 

Additional Inherited Members

- Protected Member Functions inherited from shaka::media::WebMParserClient
 DISALLOW_COPY_AND_ASSIGN (WebMParserClient)
 

Detailed Description

Parser for WebM Info element.

Definition at line 16 of file webm_info_parser.h.

Member Function Documentation

int shaka::media::WebMInfoParser::Parse ( const uint8_t *  buf,
int  size 
)

Parses a WebM Info element in |buf|.

Returns
-1 if the parse fails.
0 if more data is needed.
The number of bytes parsed on success.

Definition at line 24 of file webm_info_parser.cc.


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