set mux satpos from network satpos if set
This commit is contained in:
parent
50016a15f2
commit
e91074c812
1 changed files with 9 additions and 3 deletions
|
@ -793,9 +793,15 @@ dvb_mux_create0
|
|||
htsmsg_destroy(c);
|
||||
}
|
||||
|
||||
/* Update the satellite position for the network settings */
|
||||
if (ln->mn_satpos == INT_MAX && lm->lm_tuning.u.dmc_fe_qpsk.orbital_pos != INT_MAX)
|
||||
ln->mn_satpos = lm->lm_tuning.u.dmc_fe_qpsk.orbital_pos;
|
||||
if (ln->mn_satpos == INT_MAX) {
|
||||
/* Update the satellite position for the network settings */
|
||||
if (lm->lm_tuning.u.dmc_fe_qpsk.orbital_pos != INT_MAX)
|
||||
ln->mn_satpos = lm->lm_tuning.u.dmc_fe_qpsk.orbital_pos;
|
||||
}
|
||||
else {
|
||||
/* Update the satellite position for the mux setting */
|
||||
lm->lm_tuning.u.dmc_fe_qpsk.orbital_pos = ln->mn_satpos;
|
||||
}
|
||||
|
||||
return lm;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue