Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
CDVDMsgDemuxerPacket Class Reference

#include <DVDMessage.h>

Inheritance diagram for CDVDMsgDemuxerPacket:
CDVDMsg IDVDResourceCounted< CDVDMsg >

Public Member Functions

 CDVDMsgDemuxerPacket (DemuxPacket *packet, bool drop=false)
 
 ~CDVDMsgDemuxerPacket () override
 
DemuxPacketGetPacket ()
 
unsigned int GetPacketSize ()
 
bool GetPacketDrop ()
 
- Public Member Functions inherited from CDVDMsg
 CDVDMsg (Message msg)
 
 ~CDVDMsg () override=default
 
bool IsType (Message msg)
 
Message GetMessageType ()
 
long GetNrOfReferences ()
 
- Public Member Functions inherited from IDVDResourceCounted< CDVDMsg >
 IDVDResourceCounted ()
 
 IDVDResourceCounted (const IDVDResourceCounted &)=delete
 
virtual ~IDVDResourceCounted ()=default
 
IDVDResourceCountedoperator= (const IDVDResourceCounted &)=delete
 
virtual CDVDMsgAcquire ()
 
virtual long Release ()
 

Public Attributes

DemuxPacketm_packet
 
bool m_drop
 
- Public Attributes inherited from IDVDResourceCounted< CDVDMsg >
std::atomic< long > m_refs
 

Additional Inherited Members

- Public Types inherited from CDVDMsg
enum  Message {
  NONE = 1000, GENERAL_RESYNC, GENERAL_FLUSH, GENERAL_RESET,
  GENERAL_PAUSE, GENERAL_STREAMCHANGE, GENERAL_SYNCHRONIZE, GENERAL_GUI_ACTION,
  GENERAL_EOF, PLAYER_SET_AUDIOSTREAM, PLAYER_SET_VIDEOSTREAM, PLAYER_SET_SUBTITLESTREAM,
  PLAYER_SET_SUBTITLESTREAM_VISIBLE, PLAYER_SET_STATE, PLAYER_SET_PROGRAM, PLAYER_SET_UPDATE_STREAM_DETAILS,
  PLAYER_SEEK, PLAYER_SEEK_CHAPTER, PLAYER_SETSPEED, PLAYER_REQUEST_STATE,
  PLAYER_OPENFILE, PLAYER_STARTED, PLAYER_AVCHANGE, PLAYER_ABORT,
  PLAYER_REPORT_STATE, PLAYER_FRAME_ADVANCE, DEMUXER_PACKET, DEMUXER_RESET,
  VIDEO_SET_ASPECT, VIDEO_DRAIN, SUBTITLE_CLUTCHANGE, SUBTITLE_ADDFILE
}
 

Constructor & Destructor Documentation

§ CDVDMsgDemuxerPacket()

CDVDMsgDemuxerPacket::CDVDMsgDemuxerPacket ( DemuxPacket packet,
bool  drop = false 
)

CDVDMsgDemuxerPacket — DEMUXER_PACKET

§ ~CDVDMsgDemuxerPacket()

CDVDMsgDemuxerPacket::~CDVDMsgDemuxerPacket ( )
override

Member Function Documentation

§ GetPacket()

DemuxPacket* CDVDMsgDemuxerPacket::GetPacket ( )
inline

§ GetPacketDrop()

bool CDVDMsgDemuxerPacket::GetPacketDrop ( )
inline

§ GetPacketSize()

unsigned int CDVDMsgDemuxerPacket::GetPacketSize ( )

Member Data Documentation

§ m_drop

bool CDVDMsgDemuxerPacket::m_drop

§ m_packet

DemuxPacket* CDVDMsgDemuxerPacket::m_packet

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