Skip to contentSkip to conversation

v4l-utils: fixed DVBv3 error block count

PATCH New Marko Lukat 1 participant 1 message Jun 30, 2024 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l-utils: fixed DVBv3 error block count

_dvb_fe_get_stats() - when falling back to DVBv3 - reports DTV_STAT_CNR instead of DTV_STAT_ERROR_BLOCK_COUNT.

---

lib/libdvbv5/dvb-fe.c +1 -1
index 7848fcda..4ff9eee0 100644
@@ -1520,7 +1520,7 @@ dvbv3_fallback:
                scale = FE_SCALE_NOT_AVAILABLE;
        else
                scale = FE_SCALE_COUNTER;
-       dvb_fe_store_stats(parms, DTV_STAT_ERROR_BLOCK_COUNT, scale, 0, snr);
+       dvb_fe_store_stats(parms, DTV_STAT_ERROR_BLOCK_COUNT, scale, 0, ucb);
 
        if (parms->p.verbose > 1) {
                dvb_log(_("Status: "));