#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 |
◆ 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: