kodi
Public Member Functions | List of all members
CSubtitleParserWebVTT Class Reference
Inheritance diagram for CSubtitleParserWebVTT:
Inheritance graph
[legend]
Collaboration diagram for CSubtitleParserWebVTT:
Collaboration graph
[legend]

Public Member Functions

 CSubtitleParserWebVTT (std::unique_ptr< CDVDSubtitleStream > &&pStream, const std::string &strFile)
 
bool Open (CDVDStreamInfo &hints) override
 
- Public Member Functions inherited from CDVDSubtitleParserText
 CDVDSubtitleParserText (std::unique_ptr< CDVDSubtitleStream > &&stream, const std::string &filename, const char *name)
 
const std::string & GetName () const override
 
- Public Member Functions inherited from CDVDSubtitleParserCollection
 CDVDSubtitleParserCollection (const std::string &strFile)
 
std::shared_ptr< CDVDOverlayParse (double iPts) override
 
void Reset () override
 
- Public Member Functions inherited from CSubtitlesAdapter
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< CDVDOverlayCreateOverlay ()
 

Additional Inherited Members

- Protected Member Functions inherited from CDVDSubtitleParserText
bool Open ()
 
- Protected Member Functions inherited from CSubtitlesAdapter
virtual void PostProcess (std::string &text)
 Post processing of subtitle, will be called before processing AddSubtitle method. More...
 
- Protected Attributes inherited from CDVDSubtitleParserText
std::unique_ptr< CDVDSubtitleStreamm_pStream
 
std::string m_parserName
 
- Protected Attributes inherited from CDVDSubtitleParserCollection
CDVDSubtitleLineCollection m_collection
 
std::string m_filename
 

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