gstreamer/gst/mpegtsmux
Tim-Philipp Müller 09c05df889 mpegtsmux: make "alignment" property more useful for packetisation
Currently the alignment property just makes sure that we
output things in multiples of align*packet_size bytes, but
with no clear maximum size. When streaming MPEG-TS over
UDP one wants buffers with a maximum packet size of 1316.
The alignment property so far would just output buffers
that are a multiple of 1316 then.

Instead we now make the alignment property output
individual buffers with the alignment size, which
is entirely backwards compatible with the expected
behaviour up until now. For efficiency reason
collect all those buffers in a buffer list and
send that downstream.

Also collect data to push downstream in a buffer
list from the adapter if we don't align things,
which is still more efficient because of the
silly way the muxer currently creates output
packets.

https://bugzilla.gnome.org/show_bug.cgi?id=722129
2015-03-15 12:07:03 +00:00
..
tsmux mpegtsmux: fall through switch statement 2015-03-06 14:27:48 +00:00
Makefile.am mpegtsmux: Add support for muxing SI tables 2014-02-06 15:55:46 +01:00
mpegtsmux.c mpegtsmux: make "alignment" property more useful for packetisation 2015-03-15 12:07:03 +00:00
mpegtsmux.h mpegtsmux: Add support for muxing SI tables 2014-02-06 15:55:46 +01:00
mpegtsmux_aac.c mpegtsmux: fix creation of ADTS header for AAC audio in MPEG-TS 2013-03-18 10:31:51 +00:00
mpegtsmux_aac.h Fix FSF address 2012-11-04 00:09:59 +00:00
mpegtsmux_ttxt.c mpegtsmux: fix uninitialized variable warning 2013-10-25 12:26:23 +01:00
mpegtsmux_ttxt.h Fix FSF address 2012-11-04 00:09:59 +00:00