[vlc-commits] dvb: scan: missing increments in dvbt freq scan
Francois Cartegnie
git at videolan.org
Mon May 16 14:38:02 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu May 12 17:53:59 2016 +0200| [047b2b4483c90a2d3d1f8f262fd1fc2be1967472] | committer: Francois Cartegnie
dvb: scan: missing increments in dvbt freq scan
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=047b2b4483c90a2d3d1f8f262fd1fc2be1967472
---
modules/access/dvb/scan.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index 1451495..0f9519f 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -692,7 +692,10 @@ static int Scan_Next_DVBT( const scan_parameter_t *p_params, scan_enumeration_t
if( i >=i_band_count )
{
if( i_fi > band[i_band_count-1].i_max )
+ {
+ p_spectrum->i_index++;
return VLC_EGENERIC;
+ }
continue;
}
@@ -717,6 +720,7 @@ static int Scan_Next_DVBT( const scan_parameter_t *p_params, scan_enumeration_t
}
*pf_pos = (double)( i_current + (double)i_oi / i_offset_count ) / i_total;
+ p_spectrum->i_index++;
return VLC_SUCCESS;
}
}
More information about the vlc-commits
mailing list