buffer: add index to _take_memory()
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 13 Jun 2011 14:31:53 +0000 (16:31 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 13 Jun 2011 14:31:53 +0000 (16:31 +0200)
commit54fd50bfe123609ac27fae669953173078bf417e
tree0491e0a962667b95942389fe0b62512d9747fe66
parenta59defb90fe87a178d9579c0e4e78c6c66966fcc
buffer: add index to _take_memory()

Add an index to gst_buffer_take_memory() so that we can also insert memory at a
certain offset. This is mostly interesting to prepend a header memory block to
the buffer.
gst/gstbuffer.c
gst/gstbuffer.h
gst/gstbufferpool.c
libs/gst/base/gstadapter.c
libs/gst/base/gstbaseparse.c
libs/gst/base/gstbytewriter.c
plugins/elements/gstfakesrc.c
tests/check/gst/gstbuffer.c
tests/check/libs/bitreader.c
tests/check/libs/bytereader.c
tests/check/libs/typefindhelper.c