1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Optimized re-sending.

This commit is contained in:
Rolf Ahrenberg 2014-04-05 13:46:07 +03:00
parent 5b1af5ba29
commit 43cc15357e

View File

@ -220,9 +220,9 @@ bool cSatipSectionFilter::Send(void)
ERROR_IF(len < 0 && errno != EAGAIN, "send()"); ERROR_IF(len < 0 && errno != EAGAIN, "send()");
if (len > 0) { if (len > 0) {
ringBufferM->Drop(section); ringBufferM->Drop(section);
result = !!ringBufferM->Available();
// Update statistics // Update statistics
AddSectionStatistic(len, 1); AddSectionStatistic(len, 1);
result = true;
} }
} }
} }