]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Swap the order of the PAT and PMT packets injected by the passthrough muxer - it...
authorDave Chapman <dave@dchapman.com>
Thu, 7 Mar 2013 14:53:20 +0000 (14:53 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Fri, 8 Mar 2013 22:23:02 +0000 (22:23 +0000)
(cherry picked from commit 5d8af1a209a2c40b60252942ad77ff1df4d92712)

src/muxer/muxer_pass.c

index 50dd5e23331f0f6458eee555d3790c301407756f..97e9b1564097d7ced7eaaf126a7577c249e50908 100644 (file)
@@ -230,8 +230,8 @@ pass_muxer_write_ts(muxer_t *m, pktbuf_t *pb)
     if(!rem) {
       pm->pm_pat[3] = (pm->pm_pat[3] & 0xf0) | (pm->pm_ic & 0x0f);
       pm->pm_pmt[3] = (pm->pm_pmt[3] & 0xf0) | (pm->pm_ic & 0x0f);
-      pass_muxer_write(m, pm->pm_pmt, 188);
       pass_muxer_write(m, pm->pm_pat, 188);
+      pass_muxer_write(m, pm->pm_pmt, 188);
       pm->pm_ic++;
     }
   }