linuxdvb: ensure that inversion is set to AUTO
This commit is contained in:
parent
d21f99ec66
commit
7707693d37
2 changed files with 4 additions and 0 deletions
|
@ -267,6 +267,7 @@ dvb_desc_terr_del
|
|||
|
||||
memset(&dmc, 0, sizeof(dmc));
|
||||
dmc.dmc_fe_delsys = SYS_DVBT;
|
||||
dmc.dmc_fe_params.inversion = INVERSION_AUTO;
|
||||
dmc.dmc_fe_params.frequency = frequency * 10;
|
||||
|
||||
dmc.dmc_fe_params.u.ofdm.bandwidth = btab[(ptr[4] >> 5) & 0x7];
|
||||
|
|
|
@ -556,6 +556,9 @@ linuxdvb_mux_create0
|
|||
lm->mm_display_name = linuxdvb_mux_display_name;
|
||||
lm->mm_config_save = linuxdvb_mux_config_save;
|
||||
lm->mm_create_instances = linuxdvb_mux_create_instances;
|
||||
|
||||
/* Defaults */
|
||||
lm->lm_tuning.dmc_fe_params.inversion = INVERSION_AUTO;
|
||||
|
||||
/* No config */
|
||||
if (!conf) return lm;
|
||||
|
|
Loading…
Add table
Reference in a new issue