Commit eafee314 authored by Ilkka Ollakka's avatar Ilkka Ollakka

dvb-c: optimize initial channelfinding if we can utilise NIT-info

parent 580f668d
...@@ -569,8 +569,16 @@ static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf ...@@ -569,8 +569,16 @@ static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf
{ {
/* symbol rates from dvb-tools dvb-c files */ /* symbol rates from dvb-tools dvb-c files */
static const unsigned short symbolrates[] = { static const unsigned short symbolrates[] = {
6900, 6875, 6950, 7000, 3450, 6111, 6900, 6875, 6950
6428, 6952, 5900, 5000 }; /* With DR_44 we can cover other symbolrates from NIT-info
as all channel-seed files have atleast one channel that
has one of these symbolrate
*/
#ifndef _DVBPSI_DR_44_H_
,7000, 3450, 6111,
6428, 6952, 5900, 5000
#endif
};
enum { num_symbols = (sizeof(symbolrates)/sizeof(*symbolrates)) }; enum { num_symbols = (sizeof(symbolrates)/sizeof(*symbolrates)) };
......
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