summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-09-15 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-09-15 18:00:00 +0200
commit346f4cd1420bb02bd9cec4059385c9922d64fc3f (patch)
tree69d37a27b1b95df39f390b8ef34225da2234265e /device.h
parent523c4a07aa9112841743fca2ebcce957fde03bc8 (diff)
downloadvdr-patch-lnbsharing-346f4cd1420bb02bd9cec4059385c9922d64fc3f.tar.gz
vdr-patch-lnbsharing-346f4cd1420bb02bd9cec4059385c9922d64fc3f.tar.bz2
Version 1.1.10vdr-1.1.10
- Removed a superfluous error message from cLockFile::Unlock() (reported by Helmut Auer). - Fixed starting a recording of the current channel with only one DVB card (thanks to Stefan Huelswitt for his help). - A previous 'Transfer Mode' is now automatically re-started after a replay stops. - Only calling cStatus::MsgChannelSwitch() if a channel is actually going to be switched or has actually been switched successfully (thanks to Stefan Huelswitt). - The EPG now drops events from "other" streams that have a duration of 86400 seconds or more (this avoids bogus entries like "PROGRAMMES ALLEMANDS"). - Fixed opening /dev/video in cDvbDevice::GrabImage() in case of NEWSTRUCT driver (thanks to Andreas Schultz). - Added a missing StripAudioPackets() to cDvbPlayer::Action() (thanks to Stefan Huelswitt). - Added an EPG bugfix for the latest VOX EPG data format.
Diffstat (limited to 'device.h')
-rw-r--r--device.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/device.h b/device.h
index 0d10793..2366237 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 1.16 2002/09/08 14:56:21 kls Exp $
+ * $Id: device.h 1.18 2002/09/14 15:24:47 kls Exp $
*/
#ifndef __DEVICE_H
@@ -177,7 +177,7 @@ private:
bool active;
virtual void Action(void);
protected:
- enum ePidType { ptVideo, ptAudio, ptTeletext, ptDolby, ptOther };
+ enum ePidType { ptAudio, ptVideo, ptTeletext, ptDolby, ptOther };
class cPidHandle {
public:
int pid;
@@ -236,6 +236,7 @@ public:
private:
cPlayer *player;
+ bool playerDetached;
protected:
virtual bool SetPlayMode(ePlayMode PlayMode);
// Sets the device into the given play mode.
@@ -276,6 +277,8 @@ public:
// Attaches the given player to this device.
void Detach(cPlayer *Player);
// Detaches the given player from this device.
+ bool PlayerDetached(void);
+ // Returns true if a player has been detached and resets the 'playerDetached' flag.
// Receiver facilities