smooth out FEC errors
This commit is contained in:
parent
f50f824ea3
commit
11561e7ae9
1 changed files with 1 additions and 1 deletions
2
dvb.c
2
dvb.c
|
@ -931,7 +931,7 @@ dvb_fec_monitor(void *aux)
|
|||
if(tdmi != NULL && tdmi->tdmi_status == NULL) {
|
||||
if(ioctl(tda->tda_fe_fd, FE_READ_UNCORRECTED_BLOCKS, &v) < 0)
|
||||
v = 0;
|
||||
tdmi->tdmi_fec_err_per_sec = (tdmi->tdmi_fec_err_per_sec + v) / 2;
|
||||
tdmi->tdmi_fec_err_per_sec = (tdmi->tdmi_fec_err_per_sec * 7 + v) / 8;
|
||||
|
||||
subscription_lock();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue