[Bug 614479] [mpegtspacketizer] Use CRC to check if tables are duplicate

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 20 08:20:30 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=614479
  GStreamer | gst-plugins-bad | git

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #247280|0                           |1
        is obsolete|                            |

--- Comment #6 from Edward Hervey <bilboed at gmail.com> 2013-06-20 15:20:23 UTC ---
Created an attachment (id=247334)
 View: https://bugzilla.gnome.org/attachment.cgi?id=247334
 Review: https://bugzilla.gnome.org/review?bug=614479&attachment=247334

mpegtspacketizer: Better detect already seen section

In some cases (NIT on highly-populated DVB-C operator for example), there
will be more than one section emitted for the same subtable and version
number.

In order not to lose those updates for the same version number, we checked
against the CRC of the previous section we parsed.

The problem is that, while it made sure we didn't lose any information, it
also meant that if the same section came back (same version, same CRC) later
on we would re-process it, re-parse it and re-emit it.

This version improves on that by keeping a list of previously observed CRC
for identical PID/subtable/version-number and will only process sections if
they really were never seen in the past (as opposed to just before).

On a 30s clip, this brings down the number of NIT section parsing from 4541
down to 663.

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


More information about the gstreamer-bugs mailing list