video: Improve video frame map/unmap
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 23 Feb 2012 15:28:29 +0000 (16:28 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 23 Feb 2012 15:50:28 +0000 (16:50 +0100)
commite32e8f6c52197408f32b9f6045875f271c0eb28e
tree434ade154a3b583b0ee6b808b6d0ccf902ae1169
parentf552d8f0c02022ab690232330393ab52b777ee99
video: Improve video frame map/unmap

Install defaul map/unmap function on the metadata and really call the functions
instead of always calling a default implementation.
Rework some bits so that we don't have to mess with the GstMapInfo information
(adding the offset), instead pass the adjusted data pointer from the map function.
gst-libs/gst/video/gstvideometa.c
gst-libs/gst/video/gstvideometa.h
gst-libs/gst/video/video.c