gdp: make new _buffer_allocate method
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 10 Jun 2011 11:40:57 +0000 (13:40 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:59 +0000 (22:49 +0000)
commitbc11a6fd17fd55a0542cbe7d92c9d3d9c24f3760
tree19869fd2c54daabf4f28558c22922dca0c188c0c
parent7c7920e0e22c16d6683a9bcef113eb377bb2ee14
gdp: make new _buffer_allocate method

Make a new method to allocate a buffer + memory that takes the allocator and the
alignment as parameters. Provide a macro for the old method but prefer to use
the new method to encourage plugins to negotiate the allocator properly.
gst/gdp/dataprotocol.c