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:
parent
fde3198997
commit
e0727516ce
2
tuner.c
2
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)
|
||||
|
|
Loading…
Reference in New Issue