vaapiencode: additional clean-ups.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 28 Nov 2013 12:57:54 +0000 (13:57 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 28 Nov 2013 14:17:42 +0000 (15:17 +0100)
commit8116d8a50ea8681d0e384198506e33879493f7e6
tree01ec298b9a94d01f1ebc42436f11aa4c6747249e
parentd759fe34e68bd03ee6e93acb76d12aefaa7aed75
vaapiencode: additional clean-ups.

Constify pointers wherever possible. Drop unused variables, and use
consistent variable names. Fix gst_vaapiencode_h264_allocate_buffer()
to correctly report errors, especially when in-place conversion from
bytestream to avcC format failed.
gst/vaapi/gstvaapiencode.c
gst/vaapi/gstvaapiencode.h
gst/vaapi/gstvaapiencode_h264.c
gst/vaapi/gstvaapiencode_h264.h
gst/vaapi/gstvaapiencode_mpeg2.c