omxbufferpool: fix memory mapping with offset
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Tue, 23 Apr 2019 09:43:23 +0000 (15:13 +0530)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Tue, 23 Apr 2019 10:02:05 +0000 (15:32 +0530)
commit3018ea584361e88b45f6627141a9ac064d6cd4bc
tree282e62806af9f0c07266457639f175fbf1d69725
parente6639588c0271c7c6825247c3bebca8620cdecef
omxbufferpool: fix memory mapping with offset

gst_memory_map() is already adding the offset to the mapped pointer.
Doing it in the memory implementation was resulting in the offset being
accounted twice.

It doesn't matter yet as we are only creating memory without offset for
now but it will once we'll start sharing OMX memories.
omx/gstomxbufferpool.c