summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-06-16 14:25:43 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-06-16 14:25:43 +0200
commit67ea2163f41de6f0b42a32c25e82c7ea23b8570f (patch)
tree39caf18aa01fc55c6deb23d53d918ca6f46d78d3 /ci.c
parent1e1cd4554e59ae7abc3aebc9b93804bfe9aba986 (diff)
downloadvdr-67ea2163f41de6f0b42a32c25e82c7ea23b8570f.tar.gz
vdr-67ea2163f41de6f0b42a32c25e82c7ea23b8570f.tar.bz2
Added cMtdCamSlot::TsPostProcess()
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci.c b/ci.c
index 36864522..2f399be2 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 4.26 2019/05/28 15:01:29 kls Exp $
+ * $Id: ci.c 4.27 2020/06/16 14:25:43 kls Exp $
*/
#include "ci.h"
@@ -587,6 +587,7 @@ uint8_t cTPDU::Status(void)
class cCiTransportConnection {
private:
enum eState { stIDLE, stCREATION, stACTIVE, stDELETION };
+ cMutex mutex;
cCamSlot *camSlot;
uint8_t tcid;
eState state;
@@ -1811,6 +1812,7 @@ void cCiTransportConnection::SetTsPostProcessor(cCiSession *CiSession)
bool cCiTransportConnection::TsPostProcess(uint8_t *TsPacket)
{
+ cMutexLock MutexLock(&mutex);
if (tsPostProcessor)
return tsPostProcessor->TsPostProcess(TsPacket);
return false;