decoder: h264: slightly optimize the process to detect new pictures.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 30 Jun 2014 09:06:29 +0000 (11:06 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 30 Jun 2014 09:51:59 +0000 (11:51 +0200)
commita208a80c2989dd4c5c81d4c1603c0ad52a9f430c
treeba216d3c1a20819002a361996b172d0a712f2559
parent8ed129b8bd5301aa080990a77a45b5f24e541255
decoder: h264: slightly optimize the process to detect new pictures.

Optimize the process to detect new pictures or start of new access
units by checking if the previous NAL unit was the end of a picture,
or the end of the previous access unit.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c