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
|
||||
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