From: Jaroslav Kysela Date: Fri, 12 Oct 2018 13:50:37 +0000 (+0200) Subject: satip client: pass PLS mode to the server X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=770cbe7b14907a9c98072190f51e1eca0c85779b;p=thirdparty%2Ftvheadend.git satip client: pass PLS mode to the server --- diff --git a/src/input/mpegts/satip/satip_rtsp.c b/src/input/mpegts/satip/satip_rtsp.c index 0624e76d1..9297958e7 100644 --- a/src/input/mpegts/satip/satip_rtsp.c +++ b/src/input/mpegts/satip/satip_rtsp.c @@ -133,6 +133,12 @@ satip_rtsp_setup( http_client_t *hc, int src, int fe, { .t = DVB_FEC_9_10, "910" }, { .t = TABLE_EOD } }; + static tvh2satip_t plsm[] = { + { .t = DVB_PLS_ROOT, "root" }, + { .t = DVB_PLS_GOLD, "gold" }, + { .t = DVB_PLS_COMBO, "combo" }, + { .t = TABLE_EOD } + }; static tvh2satip_t tmode[] = { { .t = DVB_TRANSMISSION_MODE_AUTO, "auto" }, { .t = DVB_TRANSMISSION_MODE_1K, "1k" }, @@ -192,6 +198,7 @@ satip_rtsp_setup( http_client_t *hc, int src, int fe, } if (dmc->dmc_fe_stream_id != DVB_NO_STREAM_ID_FILTER) { satip_rtsp_add_ival("isi", buf, dmc->dmc_fe_stream_id); + ADD(dmc_fe_pls_mode, plsm, "root"); satip_rtsp_add_ival("plsc", buf, dmc->dmc_fe_pls_code); } } else if (dmc->dmc_fe_delsys == DVB_SYS_DVBC_ANNEX_A ||