videodecoder: getters for pool and allocator
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 6 Aug 2012 18:18:30 +0000 (20:18 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 14 Aug 2012 13:47:04 +0000 (15:47 +0200)
commitefe9e31b345a1ca04f92114a95d698d1b34e1c7f
treef543c8293888dafb049cce8fd425322adf2f6df2
parent2ff4d2efe3f2fbff2befb18edbe017e2d7a03675
videodecoder: getters for pool and allocator

Sometimes the decoder would need to use the pool or the allocator for
something else than just allocating output buffers. For example, the querying
for different parameters, such as asking for a bigger number of buffers to
allocate in the pool.

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