bufferpool: more updates
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 18 Feb 2011 15:15:30 +0000 (16:15 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 2 Mar 2011 10:23:21 +0000 (11:23 +0100)
commit9b1cadc329dfd25811e388b2533b7da3d834f73d
tree76262e00858a34022665ada0a6c94a558c31350c
parentdd16af7a6c59f5919b6fff563b457bdfb4b91388
bufferpool: more updates

Keep track if the buffer is configured and block activation when not configured
yet.
Keep track of outstanding buffers and disallow configuration when not all
buffers are returned to the pool. We need to do this or else we might end up
with wrong buffers in the pool.
Add return value to set_active.
Small cleanups. Fix finalize.
gst/gstbufferpool.c
gst/gstbufferpool.h