basesrc: getters for pool and allocator
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 7 Aug 2012 15:35:48 +0000 (17:35 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 14 Aug 2012 13:45:14 +0000 (15:45 +0200)
commit65cfafb3b90835c7aaf59c681bdc938ac7a0a16b
tree8c51b59bf44cbb28e342ca721af74608554c81a7
parentf42fb841f828780c7529d27128d028c7e7d98c97
basesrc: getters for pool and allocator

Sometimes the sources would use the buffer pool or the memory allocator for
something else than just allocating output buffers; for example, querying for
different parameters, such as a bigger number of buffers to allocate by the
pool.

This patch expose a two getters accessors: one for the buffer pool and the
other for the memory allocator.
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasesrc.h