]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip client: fix the ATSC-C (Annex B) parameters, fixes #5447
authorJaroslav Kysela <perex@perex.cz>
Tue, 1 Jan 2019 17:17:05 +0000 (18:17 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 1 Jan 2019 17:17:05 +0000 (18:17 +0100)
src/input/mpegts/satip/satip_rtsp.c

index 7e8d12a9f1dc2962cbfaaf0df82cb2b81ef53412..6db444cf0c810b5807d7297387c869ad8a326632 100644 (file)
@@ -225,6 +225,15 @@ satip_rtsp_setup( http_client_t *hc, int src, int fe,
     else if (flags & SATIP_SETUP_SPECINV1)
       strcat(buf, "&specinv=1");
 
+  } else if (dmc->dmc_fe_delsys == DVB_SYS_DVBC_ANNEX_B) {
+
+    satip_rtsp_add_val("freq", buf, dmc->dmc_fe_freq / 1000);
+    ADD(dmc_fe_delsys, msys, "dvbcb");
+    if (dmc->dmc_fe_modulation != DVB_MOD_AUTO &&
+        dmc->dmc_fe_modulation != DVB_MOD_NONE &&
+        dmc->dmc_fe_modulation != DVB_MOD_QAM_AUTO)
+      ADD(dmc_fe_modulation, mtype, "256qam");
+
   } else if (dmc->dmc_fe_delsys == DVB_SYS_DVBT ||
              dmc->dmc_fe_delsys == DVB_SYS_DVBT2) {
     satip_rtsp_add_val("freq", buf, dmc->dmc_fe_freq / 1000);