[gstreamer-bugs] [Bug 321790] New: [mpegstream] improve packetize to detect incorrect data

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Nov 18 02:04:43 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321790
 GStreamer | gst-plugins-ugly | Ver: HEAD CVS

           Summary: [mpegstream] improve packetize to detect incorrect data
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-ugly
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: josef.zlomek at xeris.cz
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


The attached patch makes MPEG packetize to detect invalid data in the MPEG
stream (in most cases) and skip it.

It finds out the length of the current chjunk in the MPEG stream. Then it finds
out whether there is a start code after the current chunk. If there is not the
start chunk, some data in the stream are probably missing, i.e. the current
chunk is cut. So packetize skips one byte of current chunk and looks for the
next start code. Therefore it effectively skips the cur current chunk.

This improves stability when the source of MPEG stream is UDP, but not
completely, unfortunatelly.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list