allocator: remove user_data from alloc vmethod
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 27 Jul 2012 10:12:37 +0000 (12:12 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 27 Jul 2012 10:17:29 +0000 (12:17 +0200)
commita2027b5e9b2a7f2df00ce37ec72d0eab2695a0fc
tree20f784c1aab62a14f1870977cbaa2dba5e85af8d
parent60382cd994e34ac5ef030f2f133a594fc82cbe9e
allocator: remove user_data from alloc vmethod

Remove the user_data from the alloc vmethod. Subclasses that implement a new
alloc function can also implement their own vmethod to pass extra arguments. We
can then also require that custom allocators implement an alloc function so that
gst_allocator_alloc() always works.
gst/gstallocator.c
gst/gstallocator.h
tests/examples/memory/my-memory.c
tests/examples/memory/my-vidmem.c