mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Defined section filter send timeout.
This commit is contained in:
parent
de6c0e1f89
commit
2355dad37b
@ -285,7 +285,7 @@ bool cSatipSectionFilterHandler::Send(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// anyone ready for writing
|
// anyone ready for writing
|
||||||
if (poll(pollFdsM, eMaxSecFilterCount, 10) <= 0)
|
if (poll(pollFdsM, eMaxSecFilterCount, eSecFilterSendTimeoutMs) <= 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// send data
|
// send data
|
||||||
|
@ -65,7 +65,8 @@ public:
|
|||||||
class cSatipSectionFilterHandler : public cThread {
|
class cSatipSectionFilterHandler : public cThread {
|
||||||
private:
|
private:
|
||||||
enum {
|
enum {
|
||||||
eMaxSecFilterCount = 32
|
eMaxSecFilterCount = 32,
|
||||||
|
eSecFilterSendTimeoutMs = 10
|
||||||
};
|
};
|
||||||
cRingBufferLinear *ringBufferM;
|
cRingBufferLinear *ringBufferM;
|
||||||
cMutex mutexM;
|
cMutex mutexM;
|
||||||
|
Loading…
Reference in New Issue
Block a user