gstreamer/gst/mpegtsdemux
Nicolas Dufresne 4a91a98ea1 mpegtsdemux: Don't pretend doing NAL alignment
Per specification in 2.14.2 "For PES packetization, no specific data
alignment constraints apply". So we should not advertise NAL
alignment.

This bug was introduced at the same moment the alignment field was introduced
10 years ago. The plan was that alignment=none (or no alignment field) was to
be used for mpegtsdemux, but no one noticed the error. The reason is that at
the same moment, everything dealing with H264 started defaulting to AU
alignment.

https://bugzilla.gnome.org/show_bug.cgi?id=606662#c22

This patch will have a side effect that a parser is now needed after the
tsdemux element. The following pipeline will not negotiate anymore as the
mpegtsmux element requires alignment={nal,au}.

  ... ! tsdemux ! mpegtsmux ! ...

As a side effect, anyone that forked from tsdemux should updated their code to
fix this bug.
2020-04-14 11:36:16 -04:00
..
gstmpegdefs.h tsdemux: Add support for AC4 2020-03-09 21:54:09 +00:00
gstmpegdesc.h tsdemux: Add format_identifier for AC4 codec 2020-03-10 16:32:59 +09:00
gsttsdemux.c mpegtsdemux: Update plugin license field 2014-02-06 14:28:54 +01:00
meson.build docs: Build documentation with hotdoc 2019-05-13 17:00:00 -04:00
mpegtsbase.c tsdemux: Send instant-rate-change event if requested in the SEEK event 2020-04-02 11:26:46 +00:00
mpegtsbase.h mpegts: Add a property to ignore broken PCR streams 2020-03-11 16:28:03 +00:00
mpegtspacketizer.c mpegtspacketizer: be more tolerant when parsing the adaptation field 2020-04-07 08:21:04 +00:00
mpegtspacketizer.h mpegtspacketizer: Fix typo in flag name 2020-01-29 20:39:44 +00:00
mpegtsparse.c tsparse: Add split-on-rai property 2020-02-11 10:56:54 +00:00
mpegtsparse.h tsparse: Add split-on-rai property 2020-02-11 10:56:54 +00:00
pesparse.c mpegtsdemux: Fix wrong usage of '<<' operator 2017-02-28 09:27:41 +01:00
pesparse.h tsdemux: fix overflow of packet_length field of PESHeader 2014-09-12 11:27:52 +02:00
TODO documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
tsdemux.c mpegtsdemux: Don't pretend doing NAL alignment 2020-04-14 11:36:16 -04:00
tsdemux.h tsdemux: Make latency configurable 2019-08-27 12:09:57 -04:00