]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Allow PMT Parsing when PMT shares a PID with another table
authorFlole998 <Flole998@users.noreply.github.com>
Wed, 5 May 2021 14:07:56 +0000 (16:07 +0200)
committerGitHub <noreply@github.com>
Wed, 5 May 2021 14:07:56 +0000 (16:07 +0200)
As proposed in #1403

src/muxer/muxer_pass.c

index 517d3be3588512eb7d865cb6d96885752a3896c3..6f09a9070eb21eb322cb2aa553b764ba6c3db702 100644 (file)
@@ -664,7 +664,7 @@ pass_muxer_write_ts(muxer_t *m, pktbuf_t *pb)
           dvb_table_parse(&pm->pm_eit, "-", tsb, l, 1, 0, pass_muxer_eit_cb);
 
         /* PMT */
-        } else {
+        if (pid == pm->pm_pmt_pid) {
 
           dvb_table_parse(&pm->pm_pmt, "-", tsb, l, 1, 0, pass_muxer_pmt_cb);