decoder: get rid of GstVaapiDecoderUnit::buffer field.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Mar 2013 12:41:28 +0000 (13:41 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Mar 2013 12:44:59 +0000 (13:44 +0100)
commitba8a7ab6cd0f4c1f82b46fe8446fd3675a38ed98
tree3e99a015e95042830733a03a3ee6b3c85d072d5c
parent57ed7e3f8b803f9aa50da72586260d381258e1d0
decoder: get rid of GstVaapiDecoderUnit::buffer field.

Drop GstVaapiDecoderUnit buffer field (GstBuffer) since it's totally
useless nowadays as creating sub-buffers doesn't bring any value. It
actually means more memory allocations. We can't do without that in
JPEG and MPEG-4:2 decoders.
gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c
gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c
gst-libs/gst/vaapi/gstvaapidecoder_unit.c
gst-libs/gst/vaapi/gstvaapidecoder_unit.h