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
e90926d5f6
commit
c4c2ba8d14
@ -285,7 +285,7 @@ bool cSatipSectionFilterHandler::Send(void)
|
||||
}
|
||||
|
||||
// anyone ready for writing
|
||||
if (poll(pollFdsM, eMaxSecFilterCount, 10) <= 0)
|
||||
if (poll(pollFdsM, eMaxSecFilterCount, eSecFilterSendTimeoutMs) <= 0)
|
||||
return false;
|
||||
|
||||
// send data
|
||||
|
@ -65,7 +65,8 @@ public:
|
||||
class cSatipSectionFilterHandler : public cThread {
|
||||
private:
|
||||
enum {
|
||||
eMaxSecFilterCount = 32
|
||||
eMaxSecFilterCount = 32,
|
||||
eSecFilterSendTimeoutMs = 10
|
||||
};
|
||||
cRingBufferLinear *ringBufferM;
|
||||
cMutex mutexM;
|
||||
|
Loading…
Reference in New Issue
Block a user