audiodecoder: getter for allocator
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 7 Aug 2012 15:24:33 +0000 (17:24 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 14 Aug 2012 13:47:34 +0000 (15:47 +0200)
commitf7f0c55e5faf5fa3fb998050a7518795cfa4ccc3
tree04999e0fe3d10904d686218decfcfadcd00d34e7
parent936ec3eb8fed0d3267dab29aa3308d1a018a340f
audiodecoder: getter for allocator

Sometimes the decoder 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/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.h