29 return device->PlayPes(Data, Length, VideoOnly);
30 esyslog(
"ERROR: attempt to use cPlayer::PlayPes() without attaching to a cDevice!");
93 Skins.Message(
mtError,
tr(
"Primary device has no MPEG decoder, can't attach player!"));
static cControl * Control(cMutexLock &MutexLock, bool Hidden=false)
Returns the current replay control (if any) in case it is currently visible.
virtual cString GetHeader(void)
This can be used by players that don't play a cRecording, but rather do something completely differen...
static void Shutdown(void)
static cControl * control
virtual cOsdObject * GetInfo(void)
Returns an OSD object that displays information about the currently played programme.
virtual const cRecording * GetRecording(void)
Returns the cRecording that is currently being replayed, or NULL if this player is not playing a cRec...
virtual ~cControl() override
static void Launch(cControl *Control)
cControl(cPlayer *Player, bool Hidden=false)
static cDevice * PrimaryDevice(void)
Returns the primary device.
cOsdObject(bool FastResponse=false)
int PlayPes(const uchar *Data, int Length, bool VideoOnly=false)
cPlayer(ePlayMode PlayMode=pmAudioVideo)