Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CVideoPlayerSubtitle Class Reference

#include <VideoPlayerSubtitle.h>

Inheritance diagram for CVideoPlayerSubtitle:
IDVDStreamPlayer

Public Member Functions

 CVideoPlayerSubtitle (CDVDOverlayContainer *pOverlayContainer, CProcessInfo &processInfo)
 
 ~CVideoPlayerSubtitle () override
 
void Process (double pts, double offset)
 
void Flush ()
 
void FindSubtitles (const char *strFilename)
 
int GetSubtitleCount ()
 
void UpdateOverlayInfo (const std::shared_ptr< CDVDInputStreamNavigator > &pStream, int iAction)
 
bool AcceptsData () const override
 
void SendMessage (std::shared_ptr< CDVDMsg > pMsg, int priority=0) override
 
void FlushMessages () override
 
bool OpenStream (CDVDStreamInfo hints) override
 
bool OpenStream (CDVDStreamInfo &hints, std::string &filename)
 
void CloseStream (bool bWaitForBuffers) override
 
bool IsInited () const override
 
bool IsStalled () const override
 
- Public Member Functions inherited from IDVDStreamPlayer
 IDVDStreamPlayer (CProcessInfo &processInfo)
 
virtual ~IDVDStreamPlayer ()=default
 

Additional Inherited Members

- Public Types inherited from IDVDStreamPlayer
enum  ESyncState { SYNC_STARTING , SYNC_WAITSYNC , SYNC_INSYNC }
 
- Protected Attributes inherited from IDVDStreamPlayer
CProcessInfom_processInfo
 

Constructor & Destructor Documentation

◆ CVideoPlayerSubtitle()

CVideoPlayerSubtitle::CVideoPlayerSubtitle ( CDVDOverlayContainer * pOverlayContainer,
CProcessInfo & processInfo )

◆ ~CVideoPlayerSubtitle()

CVideoPlayerSubtitle::~CVideoPlayerSubtitle ( )
override

Member Function Documentation

◆ AcceptsData()

bool CVideoPlayerSubtitle::AcceptsData ( ) const
overridevirtual

Implements IDVDStreamPlayer.

◆ CloseStream()

void CVideoPlayerSubtitle::CloseStream ( bool bWaitForBuffers)
overridevirtual

Implements IDVDStreamPlayer.

◆ FindSubtitles()

void CVideoPlayerSubtitle::FindSubtitles ( const char * strFilename)

◆ Flush()

void CVideoPlayerSubtitle::Flush ( )

◆ FlushMessages()

void CVideoPlayerSubtitle::FlushMessages ( )
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ GetSubtitleCount()

int CVideoPlayerSubtitle::GetSubtitleCount ( )

◆ IsInited()

bool CVideoPlayerSubtitle::IsInited ( ) const
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ IsStalled()

bool CVideoPlayerSubtitle::IsStalled ( ) const
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ OpenStream() [1/2]

bool CVideoPlayerSubtitle::OpenStream ( CDVDStreamInfo & hints,
std::string & filename )

◆ OpenStream() [2/2]

bool CVideoPlayerSubtitle::OpenStream ( CDVDStreamInfo hints)
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ Process()

void CVideoPlayerSubtitle::Process ( double pts,
double offset )

◆ SendMessage()

void CVideoPlayerSubtitle::SendMessage ( std::shared_ptr< CDVDMsg > pMsg,
int priority = 0 )
overridevirtual

Implements IDVDStreamPlayer.

◆ UpdateOverlayInfo()

void CVideoPlayerSubtitle::UpdateOverlayInfo ( const std::shared_ptr< CDVDInputStreamNavigator > & pStream,
int iAction )
inline

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