GNOME Bugzilla – Bug 771764
mpegtsmux: single byte stuffing
Last modified: 2018-11-03 13:55:37 UTC
Created attachment 335988 [details] [review]
[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.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/427.