Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
PVR codec identifier
Used to exchange the desired codec type between Kodi and addon.
More...
Topics | |
Value Help | |
Classes | |
class | kodi::addon::PVRCodec |
Functions | |
void | kodi::addon::PVRCodec::SetCodecType (PVR_CODEC_TYPE codecType) |
Codec type. | |
PVR_CODEC_TYPE | kodi::addon::PVRCodec::GetCodecType () const |
To get with SetCodecType() changed values. | |
void | kodi::addon::PVRCodec::SetCodecId (unsigned int codecId) |
Codec id. | |
unsigned int | kodi::addon::PVRCodec::GetCodecId () const |
To get with SetCodecId() changed values. | |
PVR codec identifier
Used to exchange the desired codec type between Kodi and addon.
kodi::addon::CInstancePVRClient::GetCodecByName is used to get this data.
The following table contains values that can be set with class PVRCodec :
Name | Type | Set call | Get call |
---|---|---|---|
Codec type | PVR_CODEC_TYPE | SetCodecType | GetCodecType |
Codec identifier | unsigned int | SetCodecId | GetCodecId |
|
inline |
To get with SetCodecId() changed values.
|
inline |
To get with SetCodecType() changed values.
Codec id.
Related codec identifier, normally match the ffmpeg id's.
|
inline |
Codec type.