kodi
|
Public Member Functions | |
CSubtitleParserWebVTT (std::unique_ptr< CDVDSubtitleStream > &&pStream, const std::string &strFile) | |
bool | Open (CDVDStreamInfo &hints) override |
![]() | |
CDVDSubtitleParserText (std::unique_ptr< CDVDSubtitleStream > &&stream, const std::string &filename, const char *name) | |
const std::string & | GetName () const override |
![]() | |
CDVDSubtitleParserCollection (const std::string &strFile) | |
std::shared_ptr< CDVDOverlay > | Parse (double iPts) override |
void | Reset () override |
![]() | |
bool | Initialize () |
Initialize the subtitles adapter. More... | |
int | AddSubtitle (std::string &text, double startTime, double stopTime) |
Add a subtitle. More... | |
int | AddSubtitle (std::string &text, double startTime, double stopTime, KODI::SUBTITLES::STYLE::subtitleOpts *opts) |
Add a subtitle with supplementary options. More... | |
void | AppendToSubtitle (int subtitleId, const char *text) |
Append text to the specified subtitle ID. More... | |
int | DeleteSubtitles (int nSubtitles, int threshold) |
Delete old subtitles only if the total number of subtitles added reaches the threshold. More... | |
void | ChangeSubtitleStopTime (int subtitleId, double stopTime) |
Change the stop time of a subtitle ID with the specified time. More... | |
void | FlushSubtitles () |
std::shared_ptr< CDVDOverlay > | CreateOverlay () |
Additional Inherited Members | |
![]() | |
bool | Open () |
![]() | |
virtual void | PostProcess (std::string &text) |
Post processing of subtitle, will be called before processing AddSubtitle method. More... | |
![]() | |
std::unique_ptr< CDVDSubtitleStream > | m_pStream |
std::string | m_parserName |
![]() | |
CDVDSubtitleLineCollection | m_collection |
std::string | m_filename |