decoder: h264: skip SPS extension and auxiliary slice NALs.
authorZhong Cong <congx.zhong@intel.com>
Tue, 4 Jun 2013 07:01:46 +0000 (15:01 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 26 Apr 2014 12:38:59 +0000 (14:38 +0200)
commit3a6f6f97ab956709d2dfa1b12ea221ecabdcb1ce
treeb8d3bfa2f82d80f2e362723432b1f2e553a4be20
parent3f14745d61ae9b0cbdc5d0493accf32be39773c9
decoder: h264: skip SPS extension and auxiliary slice NALs.

When NAL units of type 13 (SPS extension) or type 19 (auxiliary slice)
are present in a video, decoders shall perform the (optional) decoding
process specified for these NAL units or shall ignore them (7.4.1).

Implement option 2 (skip) for now, as alpha composition is not
supported yet during the decoding process.

This fixes decoding of the primary coded video in alphaconformanceG.

https://bugzilla.gnome.org/show_bug.cgi?id=703928
https://bugzilla.gnome.org/show_bug.cgi?id=728869
https://bugzilla.gnome.org/show_bug.cgi?id=724518

[skip NAL units earlier, i.e. at parsing time]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
ext/codecparsers
gst-libs/gst/vaapi/gstvaapidecoder_h264.c