memory: improve semantics of unmap
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jan 2012 05:43:08 +0000 (06:43 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jan 2012 05:43:08 +0000 (06:43 +0100)
commite4a58ec71e4cf92995cdc7621f49d3c2f2f30379
tree19c3621ac637004c20ab92334a593b0beff10d38
parentd483ff2db5c597f7db72e3772bafc0bc2de8debe
memory: improve semantics of unmap

Make an unmap call with a different data pointer than the map call update the
offset field. This allows for both offset and size adjustements in the unmap
call.
gst/gstmemory.c
tests/check/gst/gstmemory.c