buffer: add pool to buffer structure
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 22 Feb 2011 11:35:45 +0000 (12:35 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 2 Mar 2011 10:33:24 +0000 (11:33 +0100)
commita55bc30f81d8355e61a2fef4f6b2df5099f1797f
tree2ebfd187d1c9ea726411c61949f14e387cd1437d
parent0a89debaf72bfa9f1a5b4e3bed8dc0f793f8b574
buffer: add pool to buffer structure

Keep a pointer to the bufferpool. Release the buffer to the pool when
finalizing. Make sure the pool sets itself as the pool member of buffers that it
sends out.
gst/gstbuffer.c
gst/gstbuffer.h
gst/gstbufferpool.c
gst/gstbufferpool.h