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:
parent
5b1af5ba29
commit
43cc15357e
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user