buffer: fix the _get_mapped function
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Jul 2012 10:38:55 +0000 (12:38 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Jul 2012 10:42:44 +0000 (12:42 +0200)
commitdb65bfa129830aca31a22e9ea37afe5e49c20d6c
tree8b04a6fae00f59a7334c4f481148f8d3e0c5ba0e
parent2c88afb992aa290009ce11f87d9ade4824813f52
buffer: fix the _get_mapped function

Fix the internal _get_mapped function. gst_memory_make_mapped() takes ownership
of the memory so we need to keep an additional ref until we are done.
gst/gstbuffer.c