Swap the order of the PAT and PMT packets injected by the passthrough muxer - it is more logical to write the PAT first, followed by the PMT, as that is the order parsers will need to process the packets.
This commit is contained in:
parent
4724e01d13
commit
5d8af1a209
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue