decoder: h264: fix tracking of DPB size changes.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 28 Jun 2014 05:25:35 +0000 (07:25 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 28 Jun 2014 05:41:00 +0000 (07:41 +0200)
commit850d3d6a4d7579716b8f2beadf66b67be4574675
tree7c2ffce542c29643b177e391e2552fccbc40ab20
parent9169c520cb6b84ba3f80e1ec38d60e461267646a
decoder: h264: fix tracking of DPB size changes.

Add support for MVC streams with multiple SPS and subset SPS headers
emitted regularly, e.g. at around every I-frame. Track the maximum
number of views in ensure_context() and really reset the DPB size to
the expected value, always. i.e. even if it decreased. dpb_reset()
only cares of ensuring the DPB allocation.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c