gstreamer/gst-libs/gst/codecparsers
Matej Knopp 6af387cd5a h264parser: not all startcodes should have 3-byte 0 prefix
The parser assumes that every time there is a 0 before the startcode,
it is part of the startcode. But that's not true.

From the specification

Byte stream NAL unit syntax
zero_byte is a single byte equal to 0x00.
  When any of the following conditions are fulfilled, the zero_byte syntax
  element shall be present.
  – the nal_unit_type within the nal_unit( ) is equal to 7 (sequence parameter
    set) or 8 (picture parameter set)
  – the byte stream NAL unit syntax structure contains the first NAL unit of an
    access unit in decoding order, as specified by subclause 7.4.1.2.3.

The problem with doing this for all startcodes is that a trailing zero can mess
up timestamps. The trailing zero gets prepended to the startcode, which will
carry the PTS and DTS of previous buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=664443
2013-12-14 12:17:40 +01:00
..
gsth264parser.c h264parser: not all startcodes should have 3-byte 0 prefix 2013-12-14 12:17:40 +01:00
gsth264parser.h codecparsers: h264: add helpers to convert quantization matrices 2013-10-02 10:57:54 +02:00
gsth265parser.c codecparsers: Remove some unused functions 2013-11-07 09:54:40 +01:00
gsth265parser.h codecparsers: add H.265 HEVC bitstream parser 2013-11-06 23:14:22 +00:00
gstmpeg4parser.c codecparsers: Use correct type specifiers for format strings to fix compiler warnings 2013-03-03 12:29:42 +01:00
gstmpeg4parser.h codecparsers: Fix gtk-doc 2013-06-23 11:46:01 +02:00
gstmpegvideometa.c docs: add since markers to new codecparsers video meta API 2013-04-02 23:34:19 +01:00
gstmpegvideometa.h mpegvideometa: Fix typo in comment 2013-05-07 14:52:50 +02:00
gstmpegvideoparser.c mpegvideoparser: Also initialize debug category in parse_sequence_header 2013-12-04 17:55:05 -05:00
gstmpegvideoparser.h codecparsers: mpegvideoparser: minor doc fixes 2013-08-13 17:53:29 +01:00
gstvc1parser.c codecparsers: Fix gtk-doc 2013-06-23 11:46:01 +02:00
gstvc1parser.h codecparsers: Fix gtk-doc 2013-06-23 11:46:01 +02:00
Makefile.am codecparsers: Add -lm needed by H.265 parser 2013-11-13 19:51:12 -03:00
parserutils.c Fix FSF address 2012-11-04 00:09:59 +00:00
parserutils.h Fix FSF address 2012-11-04 00:09:59 +00:00