audioencoder: getter for allocator
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 7 Aug 2012 15:21:53 +0000 (17:21 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 14 Aug 2012 13:47:29 +0000 (15:47 +0200)
commit936ec3eb8fed0d3267dab29aa3308d1a018a340f
tree44972fed190600a583b24103cddcfccf7f711faa
parentc02dcda88565b2386194fc7c6e874ccaa657b370
audioencoder: getter for allocator

Sometimes the encoder would use the allocator for something else than just
allocating output buffers, for example, querying different parameters.

This patch expose a getter accessor for the negotiated memory allocator.
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstaudioencoder.h