bufferpool: handle metadata in the pool
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 22 Dec 2011 14:55:29 +0000 (15:55 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 22 Dec 2011 15:02:05 +0000 (16:02 +0100)
commit8b202df55de3f8ef7ad0b99d5ed87b13ef86f5cd
tree4a03678fa018d566b68ffb81be027b8232569178
parent87ada5664a55ab4c82d558ce979ff656b9a7a574
bufferpool: handle metadata in the pool

Mark all metadata on the allocated buffers with a POOLED flag. When a buffer
returns to the pool, remove all metadata that did not have the POOLED flag. This
makes sure that we never leave unknown metadata to the buffers in the pool.
gst/gstbufferpool.c