30 esyslog(
"ERROR: attempt to use cPlayer::PlayPes() without attaching to a cDevice!");
76 return (control && (!control->hidden || Hidden)) ? control : NULL;
90 if (control && !control->attached && control->player && !control->player->IsAttached()) {
92 control->attached =
true;
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...
void Detach(cFilter *Filter)
Detaches the given filter from this device.
static cControl * Control(bool Hidden=false)
Returns the current replay control (if any) in case it is currently visible.
int PlayPes(const uchar *Data, int Length, bool VideoOnly=false)
virtual int PlayPes(const uchar *Data, int Length, bool VideoOnly=false)
Plays all valid PES packets in Data with the given Length.
static void Launch(cControl *Control)
eKeys Message(eMessageType Type, const char *s, int Seconds=0)
Displays the given message, either through a currently visible display object that is capable of doin...
cControl(cPlayer *Player, bool Hidden=false)
static cDevice * PrimaryDevice(void)
Returns the primary device.
bool AttachPlayer(cPlayer *Player)
Attaches the given player to this device.
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)
cPlayer(ePlayMode PlayMode=pmAudioVideo)