h264: exclusively use GstAdapter, drop sub-buffer hack.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 20 Sep 2012 15:58:21 +0000 (17:58 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 20 Sep 2012 16:04:19 +0000 (18:04 +0200)
commitdde9232e10d21263c28ef8d4d1c18fda54b92c30
treed196aa351b515fcc977b272f9552f1d27c1aee31
parent3d7e4a3a33010469ce7317b1d34082a20afb6839
h264: exclusively use GstAdapter, drop sub-buffer hack.

Maintaining the sub-buffer is rather suboptimal especially since we
were also maintaining a GstAdapter. Now, we only use the GstAdapter
thus requiring minor extra parsing when receiving avcC buffers.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c