]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip client: fix for the PIDs split - missing delpids, issue #5544
authorJaroslav Kysela <perex@perex.cz>
Fri, 15 Feb 2019 22:38:29 +0000 (23:38 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 15 Feb 2019 22:38:36 +0000 (23:38 +0100)
src/input/mpegts/satip/satip_rtsp.c

index 2af7427f2cdcfd9832a3268ee63be1919f2fe9ec..368234cb468f62284085528ce7e60f29f0288edd 100644 (file)
@@ -372,6 +372,12 @@ satip_rtsp_play( http_client_t *hc, const char *pids,
         return r;
       i = 1;
     } else {
+      if (i < delcnt) {
+        snprintf(buf, sizeof(buf), "delpids=%s%s", del[i], _w);
+        r = satip_rtsp_play0(hc, index++, stream, buf);
+        if (r < 0)
+          return r;
+      }
       i = 0;
     }
     for ( ; i < addcnt; i++) {