PVR stream properties
All information about a respective stream is stored in this, so that Kodi can process the data given by the addon after demux.
The following table contains values that can be set with class PVRStreamProperties :
◆ SetPID()
void SetPID |
( |
unsigned int |
pid | ) |
|
|
inline |
◆ GetPID()
unsigned int GetPID |
( |
| ) |
const |
|
inline |
◆ SetCodecType()
◆ GetCodecType()
◆ SetCodecId()
void SetCodecId |
( |
unsigned int |
codecId | ) |
|
|
inline |
◆ GetCodecId()
unsigned int GetCodecId |
( |
| ) |
const |
|
inline |
◆ SetLanguage()
void SetLanguage |
( |
const std::string & |
language | ) |
|
|
inline |
◆ GetLanguage()
std::string GetLanguage |
( |
| ) |
const |
|
inline |
◆ SetSubtitleInfo()
void SetSubtitleInfo |
( |
int |
subtitleInfo | ) |
|
|
inline |
◆ GetSubtitleInfo()
int GetSubtitleInfo |
( |
| ) |
const |
|
inline |
◆ SetFPSScale()
void SetFPSScale |
( |
int |
fpsScale | ) |
|
|
inline |
To set scale of 1000 and a rate of 29970 will result in 29.97 fps.
◆ GetFPSScale()
int GetFPSScale |
( |
| ) |
const |
|
inline |
◆ SetFPSRate()
void SetFPSRate |
( |
int |
fpsRate | ) |
|
|
inline |
◆ GetFPSRate()
◆ SetHeight()
void SetHeight |
( |
int |
height | ) |
|
|
inline |
Height of the stream reported by the demuxer.
◆ GetHeight()
◆ SetWidth()
void SetWidth |
( |
int |
width | ) |
|
|
inline |
Width of the stream reported by the demuxer.
◆ GetWidth()
◆ SetAspect()
void SetAspect |
( |
float |
aspect | ) |
|
|
inline |
Display aspect ratio of the stream.
◆ GetAspect()
float GetAspect |
( |
| ) |
const |
|
inline |
◆ SetChannels()
void SetChannels |
( |
int |
channels | ) |
|
|
inline |
◆ GetChannels()
int GetChannels |
( |
| ) |
const |
|
inline |
◆ SetSampleRate()
void SetSampleRate |
( |
int |
sampleRate | ) |
|
|
inline |
◆ GetSampleRate()
int GetSampleRate |
( |
| ) |
const |
|
inline |
◆ SetBlockAlign()
void SetBlockAlign |
( |
int |
blockAlign | ) |
|
|
inline |
◆ GetBlockAlign()
int GetBlockAlign |
( |
| ) |
const |
|
inline |
◆ SetBitRate()
void SetBitRate |
( |
int |
bitRate | ) |
|
|
inline |
◆ GetBitRate()
◆ SetBitsPerSample()
void SetBitsPerSample |
( |
int |
bitsPerSample | ) |
|
|
inline |
◆ GetBitsPerSample()
int GetBitsPerSample |
( |
| ) |
const |
|
inline |