h264: minor clean-ups.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 31 Oct 2012 15:37:14 +0000 (16:37 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 16 Nov 2012 15:50:30 +0000 (16:50 +0100)
commit531b1ceab4245f823690d2a961e7a4815f4f890c
treec609846b5e51b7cc56e483376ed38fc4be79019b
parent1b95cd564ca33a16ebbe4291d3109ae98da4c770
h264: minor clean-ups.

Move DPB flush up if the current picture to decode is an IDR. Besides,
don't bother to check for IDR pictures in dpb_add() function since an
explicit DPB flush was already performed in this case.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c