[gstreamer-bugs] [Bug 635281] New: [mpegtsparse] TDT packets are only parsed for odd hours

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 19 08:47:16 PST 2010


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

           Summary: [mpegtsparse] TDT packets are only parsed for odd
                    hours
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ylatuya at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


I have found a very strange bug in mpegtsparse for TDT packets, which are only
parsed for odd hours :/
It results that TDT and TOT sections doesn't have the same structure as other
sections and the packetizer is not parsing them properly. The hour bit of the
TDT table is the current_next_indicator bit for the other sections,
invalidating the TDT tables for even hours.

mpegtsparse: fix handling of TOT and TDT sections

TDT and TOT sections, with PID=0x14, doesn't extend to several packets
and the section filter is not needed here and shouldn't be used at all
for these tables because the have a different structure.
For example, TDT tables were not parsed for odd hours because this bit
is the 'current_next_indicator' bit for the other sections, and the table
was discarded.

mpegtsparse: don't calculate the CRC for TOT tables

TOT tables, with table_id=0x73, don't have a CRC, so don't calcute it

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