From e0727516cea632580e95a8f10e453085486bb2c0 Mon Sep 17 00:00:00 2001 From: nafets227 Date: Fri, 28 Nov 2014 21:52:32 +0100 Subject: [PATCH] Bugfix: Don't block in cTunerIf()::Process(Video|Application)Data() methods. The original patch is polished and tweaked by Rolf Ahrenberg. --- tuner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuner.c b/tuner.c index f08f7d0..5712cb7 100644 --- a/tuner.c +++ b/tuner.c @@ -255,7 +255,6 @@ void cSatipTuner::ProcessVideoData(u_char *bufferP, int lengthP) AddTunerStatistic(lengthP); deviceM->WriteData(bufferP, lengthP); } - cMutexLock MutexLock(&mutexM); reConnectM.Set(eConnectTimeoutMs); } @@ -306,6 +305,7 @@ void cSatipTuner::ProcessApplicationData(u_char *bufferP, int lengthP) } free(s); } + reConnectM.Set(eConnectTimeoutMs); } void cSatipTuner::SetStreamId(int streamIdP)