#include <WebVTTHandler.h>
◆ CWebVTTHandler()
| CWebVTTHandler::CWebVTTHandler |
( |
| ) |
|
|
inline |
◆ ~CWebVTTHandler()
| CWebVTTHandler::~CWebVTTHandler |
( |
| ) |
|
|
inline |
◆ CalculateTextPosition()
| void CWebVTTHandler::CalculateTextPosition |
( |
std::string & | subtitleText | ) |
|
|
protected |
◆ CheckSignature()
| bool CWebVTTHandler::CheckSignature |
( |
const std::string & | data | ) |
|
Verify the validity of the WebVTT signature.
◆ ConvertSubtitle()
| void CWebVTTHandler::ConvertSubtitle |
( |
std::string & | text | ) |
|
|
protected |
◆ DecodeLine()
| void CWebVTTHandler::DecodeLine |
( |
std::string | line, |
|
|
std::vector< subtitleData > * | subList ) |
Decode a line of the WebVTT text data.
- Parameters
-
| line | The line to decode |
| subList | The list to be filled with decoded subtitles |
◆ GetCueSettings()
| void CWebVTTHandler::GetCueSettings |
( |
std::string & | cueSettings | ) |
|
|
protected |
◆ InitDecoderCue()
| void CWebVTTHandler::InitDecoderCue |
( |
double | startTime, |
|
|
double | endTime ) |
To be used when packages dont have the CUE timing string. Initialize the decoder with following CUE timing, after this call the decoder is prepared to read the CUE text area by using DecodeLine method.
- Parameters
-
| startTime | The start time |
| endTime | The end time |
◆ Initialize()
| bool CWebVTTHandler::Initialize |
( |
| ) |
|
Prepare the handler to the decoding.
◆ IsForcedMargins()
| bool CWebVTTHandler::IsForcedMargins |
( |
| ) |
const |
|
inline |
◆ Reset()
| void CWebVTTHandler::Reset |
( |
| ) |
|
◆ SetPeriodStart()
| void CWebVTTHandler::SetPeriodStart |
( |
double | pts | ) |
|
|
inline |
◆ m_subtitleData
The documentation for this class was generated from the following files: