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>
Wed, 31 Oct 2012 15:37:14 +0000 (16:37 +0100)
commitafddf11e22c485a29d05e78448d8204581d77d8c
tree3b08ffcbbb9c133106544139030af13004fbe4cc
parentd180a3a9f60a6205c04a61495f857f0f31692247
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