h264: minor clean-ups.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 31 Oct 2012 15:37:14 +0000 (16:37 +0100)
committerWind Yuan <feng.yuan@intel.com>
Fri, 16 Nov 2012 07:03:33 +0000 (15:03 +0800)
commitb1e0450689f36612672d06d676544c1546aa7b0e
treebcb940d7e98507f693773e02ad8f4d0151bf898a
parent30e0a0d8169ea55154270fafe33f15188b0b05f9
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