Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <demux_packet.h>
Public Attributes | |
uint8_t * | pData |
Stream package which is given for decoding. | |
int | iSize |
Size of the package given at pData. | |
int | iStreamId |
Identification of the stream. | |
int64_t | demuxerId |
Identification of the associated demuxer, this can be identical on several streams. | |
int | iGroupId |
The group this data belongs to, used to group data from different streams together. | |
void * | pSideData |
Additional packet data that can be provided by the container. | |
int | iSideDataElems |
Data elements stored at pSideData. | |
double | pts |
Presentation time stamp (PTS). | |
double | dts |
Decoding time stamp (DTS). | |
double | duration |
Duration in STREAM_TIME_BASE if available. | |
int | dispTime |
Display time from input stream. | |
bool | recoveryPoint |
To show that this package allows recreating the presentation by mistake. | |
struct DEMUX_CRYPTO_INFO * | cryptoInfo |
Optional data to allow decryption at processing site if necessary. | |
struct DEMUX_CRYPTO_INFO* DEMUX_PACKET::cryptoInfo |
Optional data to allow decryption at processing site if necessary.
This can be created using kodi::addon::CInstanceInputStream::AllocateEncryptedDemuxPacket(), otherwise this is declared as nullptr
.
See DEMUX_CRYPTO_INFO for their style.
int64_t DEMUX_PACKET::demuxerId |
Identification of the associated demuxer, this can be identical on several streams.
int DEMUX_PACKET::dispTime |
Display time from input stream.
double DEMUX_PACKET::dts |
Decoding time stamp (DTS).
double DEMUX_PACKET::duration |
Duration in STREAM_TIME_BASE if available.
int DEMUX_PACKET::iGroupId |
The group this data belongs to, used to group data from different streams together.
int DEMUX_PACKET::iStreamId |
Identification of the stream.
uint8_t* DEMUX_PACKET::pData |
Stream package which is given for decoding.
void* DEMUX_PACKET::pSideData |
Additional packet data that can be provided by the container.
Packet can contain several types of side information.
This is usually based on that of ffmpeg, see AVPacketSideData.
double DEMUX_PACKET::pts |
Presentation time stamp (PTS).
bool DEMUX_PACKET::recoveryPoint |
To show that this package allows recreating the presentation by mistake.