GNOME Bugzilla – Bug 569673
[Mpegtsparse] PAT changes not always signaled
Last modified: 2009-05-03 16:34:00 UTC
Please describe the problem: While reading a MPTS file, there is some cases where PAT changes are not always signals (via a gst_post_message). Steps to reproduce: 1. take 2 MPTS file stream (recorded from a dvb device) 2. Use a MPTS file which mix 2 MPTS stream. A such file can be created with dd : dd bs=188 count=100000 if=stream1.ts of=mix.ts ; dd bs=188 count=100000 if=stream2.ts >> mix.ts ; dd bs=188 count=100000 if=stream1.ts >> mix.ts 3. run the following command: gst-launch -m filesrc location=mix.ts ! mpegtsparse | grep pat Actual results: There are only two pat changes reported. There should be three : one for each part of the file. In fact the last pat change (when mpegtsparse is back to the stream1) is ignored. Expected results: There should be three PAT announcement. Does this happen every time? yes Other information: In fact, subtables are decoded for the PAT table which doesn't make sense. A proposed patch inhibits the subtable mechanism when parsing the PAT. It also clean mpegtspacketizer stream's structure when streams are out of date (on pat change). Note: I can send a mix.ts file on demand.
Created attachment 127459 [details] [review] proposed patch inhibit subtable mechanism for PAT parsing clean mpegpacketizer cache when a pmt is not in the PAT anymore.
Created attachment 127461 [details] Small sample test file with only PAT changes (no video streams)
hello, any news about this bug ?
Thanks for the patch. commit e41401e3174b80b2e2ce4febf99f15e766dfc5c6 Author: Vincent Genieux <mutex@runbox.com> Date: Sun May 3 17:42:44 2009 +0100 mpegtsparse: Ignore subtable extension when parsing PAT Fixes #569673.