[Bug 747850] New: h264parser/h264parse: Handle trailing 0s in NALU

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 14 06:52:39 PDT 2015


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

            Bug ID: 747850
           Summary: h264parser/h264parse: Handle trailing 0s in NALU
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bilboed at bilboed.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

the H264 spec allows to have leading/traling zeros in byte stream

The problem is that we don't know about it, and therefore we iterating over
NALU we are never guaranteed to end at the next NALU start code, but instead
on potentially trailing zero bytes

This would cause h264parse to tell baseparse to skip those few bytes, resulting
in the next buffer being a DISCONT one ... whereas it's not.

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