h264: start decoding slices after first SPS/PPS activation.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 Nov 2012 17:40:47 +0000 (18:40 +0100)
committerWind Yuan <feng.yuan@intel.com>
Fri, 16 Nov 2012 07:03:33 +0000 (15:03 +0800)
commite349749c28c0b3ebd7cafa29d2828c90ba224b96
tree03eaa0feabe15c3af92f0c9c1936a142f3f3dc98
parentaf310e5bfd0a38e4ead3633b89c1c16ae9e017d3
h264: start decoding slices after first SPS/PPS activation.

Only start decoding slices when at least one SPS and PPS got activated.
This fixes cases when a source represents a substream of another stream
and no SPS and PPS was inserted before the first slice of the generated
substream.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c