[gstreamer-bugs] [Bug 621027] mpegtsparse problem when parsing EIT and obtaining Transport Stream packet size

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 16 15:02:01 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=621027
  GStreamer | gst-plugins-bad | 0.10.x

--- Comment #5 from Karol <napewnotrafi at gmail.com> 2010-07-16 22:01:56 UTC ---
I have made patch for mpegtspacketizer.c based on the newest code in git.

What I have fixed:
In function "mpegts_try_discover_packet_size" the MPEG-TS packet size is
obtained (when new data in arriving). If the packets at the beginning of
"gst_adapter" are invalid, the "mpegts_try_discover_packet_size" would not be
able to determine the packet size and the packets at the beginning of the
"gst_adapter" instance are not discarded. Therefore all incoming data will be
queued in "gst_adapter" instance indefinitely.

My patch discards single packet from the beginning of the "gst_adapter"
instance in the case, that the the MPEG-TS packet size cannot be obtained
because of invalid packet data.

What was already fixed in the newest git code:
1. The EIT problem is fixed in the newest git code. Now the CRCs of the tables
are stored. When the new EIT comes with the same version number and higher
section number, it would have different CRC and therefore will not be ignored.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list