1
0
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:
Alexander Pipelka 2017-09-25 20:37:57 +02:00 committed by Rolf Ahrenberg
parent de6c0e1f89
commit 2355dad37b
2 changed files with 3 additions and 2 deletions

View File

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

View File

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