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