[gstreamer-bugs] [Bug 620390] New: Payloader doesn't understand short startcodecs

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 2 11:24:21 PDT 2010


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

           Summary: Payloader doesn't understand short startcodecs
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: sjoerd at luon.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=162567)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=162567)
Understand short startcodes

A nal unit can be started with either 3 0 bytes and a 0x1 or 2 0x0 bytes and a
0x1. gsth264pay currently only understands the longer variation, attached patch
adds supports for the longer variation.

Strictly speaking a NAL unit ends with either a sequence of 3 0x0 bytes or
0x00, 0x00, 0x01. To keep the changes to a minimum i made next_start_code look
for a the short variation and on the second pass trim the subnals if they're
not the last one. This does mean we don't catch the case where there is a
trailing series of 0x0 at the end of the buffer, but i doubt that will ever
occur and be meaningful (famous last words?).

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