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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 23 00:07:14 PDT 2013


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

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|0.10.19                     |1.1.2

--- Comment #7 from Edward Hervey <bilboed at gmail.com> 2013-06-23 07:07:09 UTC ---
commit 0592bcc3c90125f8a9a68ee8e8940176b9c8cc97
Author: Edward Hervey <edward at collabora.com>
Date:   Wed Jun 19 20:39:54 2013 +0200

    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.

    https://bugzilla.gnome.org/show_bug.cgi?id=614479

-- 
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