From 3f9cdea1c16cb25b7a3ce7c875d46e6d100d593d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 21 Feb 2017 14:17:07 +0100 Subject: PIDs can now be added to and deleted from a cReceiver while it is attached to a cDevice --- device.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'device.h') diff --git a/device.h b/device.h index 2639e855..581c187a 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 4.3 2017/01/09 12:51:05 kls Exp $ + * $Id: device.h 4.4 2017/02/21 13:23:24 kls Exp $ */ #ifndef __DEVICE_H @@ -109,6 +109,7 @@ public: class cDevice : public cThread { friend class cLiveSubtitle; friend class cDeviceHook; + friend class cReceiver; private: static int numDevices; static int useDevice; @@ -355,6 +356,7 @@ public: // PID handle facilities private: + mutable cMutex mutexPids; virtual void Action(void); protected: enum ePidType { ptAudio, ptVideo, ptPcr, ptTeletext, ptDolby, ptOther }; -- cgit v1.2.3