1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Bugfix: Don't block in cTunerIf()::Process(Video|Application)Data() methods.

The original patch is polished and tweaked by Rolf Ahrenberg.
This commit is contained in:
nafets227 2014-11-28 21:52:32 +01:00 committed by Rolf Ahrenberg
parent fde3198997
commit e0727516ce

View File

@ -255,7 +255,6 @@ void cSatipTuner::ProcessVideoData(u_char *bufferP, int lengthP)
AddTunerStatistic(lengthP); AddTunerStatistic(lengthP);
deviceM->WriteData(bufferP, lengthP); deviceM->WriteData(bufferP, lengthP);
} }
cMutexLock MutexLock(&mutexM);
reConnectM.Set(eConnectTimeoutMs); reConnectM.Set(eConnectTimeoutMs);
} }
@ -306,6 +305,7 @@ void cSatipTuner::ProcessApplicationData(u_char *bufferP, int lengthP)
} }
free(s); free(s);
} }
reConnectM.Set(eConnectTimeoutMs);
} }
void cSatipTuner::SetStreamId(int streamIdP) void cSatipTuner::SetStreamId(int streamIdP)