Commit 580f668d authored by Ilkka Ollakka's avatar Ilkka Ollakka

dvb: dvb-c channels seems to have only QAM64..256 modulations, so no point on iterate over QAM32/16

parent 63e0c6d7
......@@ -555,7 +555,9 @@ static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf
{
p_scan->parameter.i_modulation = (p_scan->parameter.i_modulation >> 1 );
/* if we iterated all modulations, move on */
if( p_scan->parameter.i_modulation < 16)
/* dvb utils dvb-c channels files seems to have only
QAM64...QAM256, so lets just iterate over those */
if( p_scan->parameter.i_modulation < 64)
{
p_scan->parameter.i_modulation = 256;
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment