From: Jaroslav Kysela Date: Tue, 1 Jan 2019 17:17:05 +0000 (+0100) Subject: satip client: fix the ATSC-C (Annex B) parameters, fixes #5447 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=833b61c4d14511ef20ac55a918a7fdc1c231fb0e;p=thirdparty%2Ftvheadend.git satip client: fix the ATSC-C (Annex B) parameters, fixes #5447 --- diff --git a/src/input/mpegts/satip/satip_rtsp.c b/src/input/mpegts/satip/satip_rtsp.c index 7e8d12a9f..6db444cf0 100644 --- a/src/input/mpegts/satip/satip_rtsp.c +++ b/src/input/mpegts/satip/satip_rtsp.c @@ -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);