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

#include <DVDInputStreamFFmpeg.h>

Inheritance diagram for CDVDInputStreamFFmpeg:
CDVDInputStream

Public Member Functions

 CDVDInputStreamFFmpeg (const CFileItem &fileitem)
 
 ~CDVDInputStreamFFmpeg () override
 
bool Open () override
 
void Close () override
 
int Read (uint8_t *buf, int buf_size) override
 
int64_t Seek (int64_t offset, int whence) override
 
bool IsEOF () override
 
int64_t GetLength () override
 
std::string GetFileName () override
 
void Abort () override
 
bool Aborted ()
 
const CFileItemGetItem () const
 
std::string GetProxyType () const
 
std::string GetProxyHost () const
 
uint16_t GetProxyPort () const
 
std::string GetProxyUser () const
 
std::string GetProxyPassword () const
 
- Public Member Functions inherited from CDVDInputStream
 CDVDInputStream (DVDStreamType m_streamType, const CFileItem &fileitem)
 
virtual ~CDVDInputStream ()
 
virtual std::string & GetContent ()
 
virtual CURL GetURL ()
 
virtual ENextStream NextStream ()
 
virtual int GetBlockSize ()
 
virtual bool CanSeek ()
 
virtual bool CanPause ()
 
virtual void SetReadRate (uint32_t rate)
 Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint.
 
virtual bool GetCacheStatus (XFILE::SCacheStatus *status)
 Get the cache status.
 
bool IsStreamType (DVDStreamType type) const
 
virtual BitstreamStats GetBitstreamStats () const
 
bool ContentLookup ()
 
virtual bool IsRealtime ()
 
void SetRealtime (bool realtime)
 
virtual IDemuxGetIDemux ()
 
virtual IPosTimeGetIPosTime ()
 
virtual IDisplayTimeGetIDisplayTime ()
 
virtual ITimesGetITimes ()
 
virtual IChapterGetIChapter ()
 
const CVariantGetProperty (const std::string &key)
 

Protected Attributes

bool m_aborted = false
 
- Protected Attributes inherited from CDVDInputStream
DVDStreamType m_streamType
 
BitstreamStats m_stats
 
std::string m_content
 
CFileItem m_item
 
bool m_contentLookup
 
bool m_realtime
 

Additional Inherited Members

- Public Types inherited from CDVDInputStream
enum  ENextStream { NEXTSTREAM_NONE , NEXTSTREAM_OPEN , NEXTSTREAM_RETRY }
 

Constructor & Destructor Documentation

◆ CDVDInputStreamFFmpeg()

CDVDInputStreamFFmpeg::CDVDInputStreamFFmpeg ( const CFileItem & fileitem)
explicit

◆ ~CDVDInputStreamFFmpeg()

CDVDInputStreamFFmpeg::~CDVDInputStreamFFmpeg ( )
override

Member Function Documentation

◆ Abort()

void CDVDInputStreamFFmpeg::Abort ( )
inlineoverridevirtual

Reimplemented from CDVDInputStream.

◆ Aborted()

bool CDVDInputStreamFFmpeg::Aborted ( )
inline

◆ Close()

void CDVDInputStreamFFmpeg::Close ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ GetFileName()

std::string CDVDInputStreamFFmpeg::GetFileName ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ GetItem()

const CFileItem & CDVDInputStreamFFmpeg::GetItem ( ) const
inline

◆ GetLength()

int64_t CDVDInputStreamFFmpeg::GetLength ( )
overridevirtual

Implements CDVDInputStream.

◆ GetProxyHost()

std::string CDVDInputStreamFFmpeg::GetProxyHost ( ) const

◆ GetProxyPassword()

std::string CDVDInputStreamFFmpeg::GetProxyPassword ( ) const

◆ GetProxyPort()

uint16_t CDVDInputStreamFFmpeg::GetProxyPort ( ) const

◆ GetProxyType()

std::string CDVDInputStreamFFmpeg::GetProxyType ( ) const

◆ GetProxyUser()

std::string CDVDInputStreamFFmpeg::GetProxyUser ( ) const

◆ IsEOF()

bool CDVDInputStreamFFmpeg::IsEOF ( )
overridevirtual

Implements CDVDInputStream.

◆ Open()

bool CDVDInputStreamFFmpeg::Open ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ Read()

int CDVDInputStreamFFmpeg::Read ( uint8_t * buf,
int buf_size )
overridevirtual

Implements CDVDInputStream.

◆ Seek()

int64_t CDVDInputStreamFFmpeg::Seek ( int64_t offset,
int whence )
overridevirtual

Implements CDVDInputStream.

Member Data Documentation

◆ m_aborted

bool CDVDInputStreamFFmpeg::m_aborted = false
protected

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