[Bug 732154] New: h264parse: fix and optimize NAL collection function

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 24 05:05:54 PDT 2014


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

           Summary: h264parse: fix and optimize NAL collection function
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: gb.devel at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Use gst_h264_parser_identify_nalu_unchecked() to identify the next NAL unit. We
don't want to parse the full NAL unit, but only the header bytes and possibly
the first RBSP byte for identifying the first_mb_in_slice syntax element.

Also fix check for failure when returning from that function. The only success
condition for that is GST_H264_PARSER_OK, so use it.

BTW, I think that function is a misnomer. My understanding is that the function
is used to determine access unit boundaries, not NAL boundaries.

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