Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP Client: skip universal LNB check for the TVHeadend server
  • Loading branch information
perexg committed Mar 23, 2015
1 parent 3f4002d commit dddc424
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/input/mpegts/satip/satip.c
Expand Up @@ -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;
}
}

Expand Down
5 changes: 3 additions & 2 deletions src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions src/input/mpegts/satip/satip_private.h
Expand Up @@ -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;
};
Expand Down

0 comments on commit dddc424

Please sign in to comment.