SAT>IP Client: skip universal LNB check for the TVHeadend server

This commit is contained in:
Jaroslav Kysela 2015-03-23 16:21:05 +01:00
parent 3f4002d984
commit dddc4249ef
3 changed files with 5 additions and 2 deletions

View file

@ -383,6 +383,7 @@ satip_device_hack( satip_device_t *sd )
} else if (strcmp(sd->sd_info.modelname, "TVHeadend SAT>IP") == 0) {
sd->sd_pids_max = 128;
sd->sd_pids_len = 2048;
sd->sd_no_univ_lnb = 1;
}
}

View file

@ -497,8 +497,9 @@ satip_frontend_start_mux
mpegts_mux_nice_name(mmi->mmi_mux, buf2, sizeof(buf2));
tvhdebug("satip", "%s - starting %s", buf1, buf2);
if (lm->lm_tuning.dmc_fe_delsys == DVB_SYS_DVBS ||
lm->lm_tuning.dmc_fe_delsys == DVB_SYS_DVBS2) {
if (!lfe->sf_device->sd_no_univ_lnb &&
(lm->lm_tuning.dmc_fe_delsys == DVB_SYS_DVBS ||
lm->lm_tuning.dmc_fe_delsys == DVB_SYS_DVBS2)) {
/* Note: assume universal LNB */
if (lm->lm_tuning.dmc_fe_freq < 10700000 ||
lm->lm_tuning.dmc_fe_freq > 12750000) {

View file

@ -84,6 +84,7 @@ struct satip_device
int sd_sig_scale;
int sd_pids0;
int sd_pilot_on;
int sd_no_univ_lnb;
int sd_dbus_allow;
pthread_mutex_t sd_tune_mutex;
};