memory: make the allocator refcounted
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 30 Jan 2012 12:02:13 +0000 (13:02 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 30 Jan 2012 12:20:36 +0000 (13:20 +0100)
commitaf2fc026fc521df3cc3d299598c339a721934d80
tree59764419c0a64c27e3eb3b5a861d5c1cd74e9003
parentd9577f2696b0f3a40e4f34dcaa76769098cf0578
memory: make the allocator refcounted

Add refcounting to the GstAllocator object.
Remove const from functions because the allocator is refcounted now.
Rename the vmethods for consistency
Expose the constructor for GstAllocator and add a destroy notify for the
user_data. This should make it possible to create allocators that are not
registered and shared globally along with the possibility to destroy them
properly.
Update defs with new symbols.
gst/gstbuffer.c
gst/gstbuffer.h
gst/gstmemory.c
gst/gstmemory.h
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasetransform.c
win32/common/libgstreamer.def