memory: expose the GstAllocation structure
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jul 2012 15:19:21 +0000 (17:19 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jul 2012 15:24:32 +0000 (17:24 +0200)
commit408df31a482543ab67532e5fe21e660d75d3c1d6
treef4ec33753578cc83da38af6c7a1e293f76a85197
parentd2627a158e05ba6e4172bd321cb7e25c9e0857ca
memory: expose the GstAllocation structure

Expose the GstAllocation structure and provide an _init function. This makes it
easier to make 'subclasses' of the allocator that contain more info.
It also allows us to expose the flags on the allocator miniobject.
Make a flag to note that the allocator uses a custom alloc function.
gst/gstmemory.c
gst/gstmemory.h
tests/examples/memory/my-memory.c
tests/examples/memory/my-vidmem.c