]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
SAT>IP Client: skip universal LNB check for the TVHeadend server
authorJaroslav Kysela <perex@perex.cz>
Mon, 23 Mar 2015 15:21:05 +0000 (16:21 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 23 Mar 2015 15:21:05 +0000 (16:21 +0100)
src/input/mpegts/satip/satip.c
src/input/mpegts/satip/satip_frontend.c
src/input/mpegts/satip/satip_private.h

index 82c758c9ac0725ea8f38cd66eb03dec0cc76976b..0d9a8adff15a7f0afdb34f411f4ab514771b4e05 100644 (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;
   }
 }
 
index 89a32c56bee737718743c30baeadb5fa214d6c71..124520f2c2f36a6b09339cbf77e3868afe80193d 100644 (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) {
index 5e95d2bb3fc87645cee477e569aace6195d3e95a..b7e83fdde5cbd50fc74ea78b5fa3a4edaa136126 100644 (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;
 };