h264: fix VAPictureParameterBufferH264.ReferenceFrames[] construction.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 Nov 2012 13:25:34 +0000 (14:25 +0100)
committerWind Yuan <feng.yuan@intel.com>
Fri, 16 Nov 2012 07:03:33 +0000 (15:03 +0800)
commitaf310e5bfd0a38e4ead3633b89c1c16ae9e017d3
treeb63d3e8a3879c2c4114147fe2f2af9448f081c4f
parent33174b74cddfac0449d724dfebf4bce9884b29ab
h264: fix VAPictureParameterBufferH264.ReferenceFrames[] construction.

... for interlaced streams. The short_ref[] and long_ref[] arrays may
contain up to 32 fields but VA ReferenceFrames[] array expects up to
16 reference frames, thus including both fields.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c