h264: fix VAPictureParameterBufferH264.ReferenceFrames[] construction.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 Nov 2012 13:25:34 +0000 (14:25 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 Nov 2012 16:53:57 +0000 (17:53 +0100)
commit1fc397affdef0f26969af34e59c9841fe2b0959c
treeeeec1bb204f2f64b03ec5b2e14a0468452745112
parentf196605fc81ca928e446876d4e5ec93881f430cf
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