memory improvements
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 19 Jan 2012 08:12:05 +0000 (09:12 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 19 Jan 2012 11:51:41 +0000 (12:51 +0100)
commita1d7bd02e4e48d9e525dcc5b79c3c97749c00d87
treebae052d3f5c2019fdffed16af508ad020767aa86
parente349e571543fa3c45033faff85b8d2adc987874c
memory improvements

Make the memory object simply manage the data pointer and the maxsize and move
the offset and size handling to common functionality.
Use the READONLY flag to set a readonly lock.
Remove the data and size fields from the unmap method. We need an explicit
resize operation instead of using the unmap function.
Make internal helper lock and unlock functions.
Update unit test and users of the old API.
docs/gst/gstreamer-sections.txt
gst/gstbuffer.c
gst/gstmemory.c
gst/gstmemory.h
tests/check/gst/gstmemory.c