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>
Wed, 14 Nov 2012 17:55:05 +0000 (18:55 +0100)
commit4d31e1e58acbd016105895808f7648383316741c
tree0080fea54b8899e371c96311839bd0676ab39a64
parent1fc397affdef0f26969af34e59c9841fe2b0959c
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