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)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 16 Nov 2012 15:50:31 +0000 (16:50 +0100)
commit6188ab4e4d7afc66a11f104e071926a240c34361
tree09839792615faacc475a333f756db19a872b9368
parent79d253c01cc2d92b529ffd4824545ebaf1c3cb2e
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