]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Make SAT>IP requests for pids=all work
authorThomas Göttgens <tgoettgens@gmail.com>
Fri, 30 Dec 2016 23:11:33 +0000 (00:11 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 31 Dec 2016 14:17:45 +0000 (15:17 +0100)
pids=all would result in only pid 0 being sent. transedit uses this to analyze ts content which is again possible with this patch.

src/satip/rtsp.c

index d3dabc77bbedbcd7c809af693c1b2b82e92c4f55..39a5fde513e93d1cb1c2953f5e3184566539a87d 100644 (file)
@@ -1116,7 +1116,7 @@ rtsp_parse_cmd
     rs->shutdown_on_close = hc;
 
 play:
-  if (pids.count > 0)
+  if (pids.count > 0 || pids.all)
     mpegts_pid_copy(&rs->pids, &pids);
   if (delpids.count > 0)
     mpegts_pid_del_group(&rs->pids, &delpids);