plugins: use new video buffer pools.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 8 Nov 2012 14:41:22 +0000 (16:41 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 10 Apr 2013 12:58:16 +0000 (14:58 +0200)
commit551ac4c5b34dccf1ba774a88f189d29caff2415e
tree5c1086b22557b44a5eeabe8b0954df2c5c3f957d
parent5b11b833210e5097aad60af873556e5b6af63e7d
plugins: use new video buffer pools.

Use new GstVaapiVideoBufferPool to maintain video buffers. Implement
GstBaseSink::propose_allocation() to expose that pool to upstream
elements; and also implement GstVideoDecoder::decide_allocation() to
actually use that pool (from downstream), if any, or create one.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapisink.c
gst/vaapi/gstvaapisink.h