|
void | DecodeStream (const char *buffer, int bufferSize, double pts, std::vector< subtitleData > *subList, double &prevSubStopTime) |
| Decode a stream package of the WebVTT in MP4 encapsulated subtitles (ISO/IEC 14496-30:2014) More...
|
|
Public Member Functions inherited from CWebVTTHandler |
bool | Initialize () |
| Prepare the handler to the decoding.
|
|
void | Reset () |
|
bool | CheckSignature (const std::string &data) |
| Verify the validity of the WebVTT signature.
|
|
void | DecodeLine (std::string line, std::vector< subtitleData > *subList) |
| Decode a line of the WebVTT text data. More...
|
|
bool | IsForcedMargins () const |
|
void | SetPeriodStart (double pts) |
|
|
Protected Member Functions inherited from CWebVTTHandler |
void | CalculateTextPosition (std::string &subtitleText) |
|
void | ConvertSubtitle (std::string &text) |
|
void | GetCueSettings (std::string &cueSettings) |
|
Protected Attributes inherited from CWebVTTHandler |
subtitleData | m_subtitleData |
|
◆ DecodeStream()
void CWebVTTISOHandler::DecodeStream |
( |
const char * |
buffer, |
|
|
int |
bufferSize, |
|
|
double |
pts, |
|
|
std::vector< subtitleData > * |
subList, |
|
|
double & |
prevSubStopTime |
|
) |
| |
Decode a stream package of the WebVTT in MP4 encapsulated subtitles (ISO/IEC 14496-30:2014)
- Parameters
-
| buffer | The data buffer |
| bufferSize | The buffer size |
| subList | The list to be filled with decoded subtitles |
[out] | prevSubStopTime | Provide the stop time value (depends on box type) |
The documentation for this class was generated from the following files:
- xbmc/cores/VideoPlayer/DVDSubtitles/webvtt/WebVTTISOHandler.h
- xbmc/cores/VideoPlayer/DVDSubtitles/webvtt/WebVTTISOHandler.cpp