[Bug 771764] New: mpegtsmux: single byte stuffing

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 21 12:26:42 UTC 2016


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

            Bug ID: 771764
           Summary: mpegtsmux: single byte stuffing
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: knorr.jesper at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 335988
  --> https://bugzilla.gnome.org/attachment.cgi?id=335988&action=edit
[PATCH] mpegtsmux: Support single byte adaptation stuffing

In the current implementation, the adaptation field has a minimum size of 2
bytes. This means that if a single stuffing byte is needed, we create 2
packets, where the second packet only contains a single payload byte.

This patch changes the implementation. If we only have the adaptation field for
stuffing, and the minimum length requested is 1 byte, we set the adaptation
length to 0, and only write a single byte.

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