Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb: fix loss of SNR display (bug #3927)
  • Loading branch information
OliverO2 authored and perexg committed Aug 20, 2016
1 parent 1c7eab4 commit fb99e1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -934,6 +934,10 @@ linuxdvb_frontend_monitor ( void *aux )
mmi->tii_stats.snr = fe_properties[3].u.st.stat[0].svalue;
gotprop = 1;
}
else if(fe_properties[3].u.st.stat[0].scale == FE_SCALE_NOT_AVAILABLE) {
mmi->tii_stats.snr_scale = SIGNAL_STATUS_SCALE_UNKNOWN;
gotprop = 1;
}
else {
ioctl_bad(lfe, 6);
mmi->tii_stats.snr_scale = SIGNAL_STATUS_SCALE_UNKNOWN;
Expand Down

0 comments on commit fb99e1a

Please sign in to comment.