]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip client: pass PLS mode to the server
authorJaroslav Kysela <perex@perex.cz>
Fri, 12 Oct 2018 13:50:37 +0000 (15:50 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 12 Oct 2018 13:50:37 +0000 (15:50 +0200)
src/input/mpegts/satip/satip_rtsp.c

index 0624e76d147c01c6e33a327fd5d4abafa01499a0..9297958e728abfe7c8cb6cc64c43abb30d0c49d6 100644 (file)
@@ -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 ||