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

#include <DemuxMultiSource.h>

Inheritance diagram for CDemuxMultiSource:
CDVDDemux

Public Member Functions

 CDemuxMultiSource ()
 
 ~CDemuxMultiSource () override
 
bool Open (const std::shared_ptr< CDVDInputStream > &pInput)
 
void Abort () override
 
void EnableStream (int64_t demuxerId, int id, bool enable) override
 
void Flush () override
 
int GetNrOfStreams () const override
 
CDemuxStreamGetStream (int64_t demuxerId, int iStreamId) const override
 
std::vector< CDemuxStream * > GetStreams () const override
 
std::string GetStreamCodecName (int64_t demuxerId, int iStreamId) override
 
int GetStreamLength () override
 
DemuxPacketRead () override
 
bool Reset () override
 
bool SeekTime (double time, bool backwards=false, double *startpts=NULL) override
 
- Public Member Functions inherited from CDVDDemux
 CDVDDemux ()
 
virtual ~CDVDDemux ()=default
 
virtual bool SeekChapter (int chapter, double *startpts=NULL)
 
virtual int GetChapterCount ()
 
virtual int GetChapter ()
 
virtual void GetChapterName (std::string &strChapterName, int chapterIdx=-1)
 
virtual int64_t GetChapterPos (int chapterIdx=-1)
 
virtual void SetSpeed (int iSpeed)
 
virtual void FillBuffer (bool mode)
 
virtual int GetPrograms (std::vector< ProgramInfo > &programs)
 
virtual void SetProgram (int progId)
 
virtual std::string GetFileName ()
 
int GetNrOfSubtitleStreams ()
 
virtual void OpenStream (int64_t demuxerId, int id)
 
virtual void SetVideoResolution (unsigned int width, unsigned int height)
 
int64_t GetDemuxerId ()
 

Protected Member Functions

CDemuxStreamGetStream (int iStreamId) const override
 
- Protected Member Functions inherited from CDVDDemux
virtual void EnableStream (int id, bool enable)
 
virtual void OpenStream (int id)
 
virtual std::string GetStreamCodecName (int iStreamId)
 
int GetNrOfStreams (StreamType streamType)
 

Additional Inherited Members

- Protected Attributes inherited from CDVDDemux
int64_t m_demuxerId
 

Constructor & Destructor Documentation

◆ CDemuxMultiSource()

CDemuxMultiSource::CDemuxMultiSource ( )
default

◆ ~CDemuxMultiSource()

CDemuxMultiSource::~CDemuxMultiSource ( )
override

Member Function Documentation

◆ Abort()

void CDemuxMultiSource::Abort ( )
overridevirtual

Reimplemented from CDVDDemux.

◆ EnableStream()

void CDemuxMultiSource::EnableStream ( int64_t demuxerId,
int id,
bool enable )
overridevirtual

Reimplemented from CDVDDemux.

◆ Flush()

void CDemuxMultiSource::Flush ( )
overridevirtual

Implements CDVDDemux.

◆ GetNrOfStreams()

int CDemuxMultiSource::GetNrOfStreams ( ) const
overridevirtual

Implements CDVDDemux.

◆ GetStream() [1/2]

CDemuxStream * CDemuxMultiSource::GetStream ( int iStreamId) const
inlineoverrideprotectedvirtual

Implements CDVDDemux.

◆ GetStream() [2/2]

CDemuxStream * CDemuxMultiSource::GetStream ( int64_t demuxerId,
int iStreamId ) const
overridevirtual

Reimplemented from CDVDDemux.

◆ GetStreamCodecName()

std::string CDemuxMultiSource::GetStreamCodecName ( int64_t demuxerId,
int iStreamId )
overridevirtual

Reimplemented from CDVDDemux.

◆ GetStreamLength()

int CDemuxMultiSource::GetStreamLength ( )
overridevirtual

Reimplemented from CDVDDemux.

◆ GetStreams()

std::vector< CDemuxStream * > CDemuxMultiSource::GetStreams ( ) const
overridevirtual

Implements CDVDDemux.

◆ Open()

bool CDemuxMultiSource::Open ( const std::shared_ptr< CDVDInputStream > & pInput)

◆ Read()

DemuxPacket * CDemuxMultiSource::Read ( )
overridevirtual

Implements CDVDDemux.

◆ Reset()

bool CDemuxMultiSource::Reset ( )
overridevirtual

Implements CDVDDemux.

◆ SeekTime()

bool CDemuxMultiSource::SeekTime ( double time,
bool backwards = false,
double * startpts = NULL )
overridevirtual

Implements CDVDDemux.


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