summaryrefslogtreecommitdiff
path: root/gst/gstmemory.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-01-24 14:37:25 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-01-25 11:54:23 +0100
commit9c9848e9525c382aee39b72314c0eb6669792550 (patch)
tree9914fcfd1e10d8411a7bcf4520c4cbfa85f93de7 /gst/gstmemory.c
parent203dd6fbe130b9b1e1be68ff82ca69d808d7dc83 (diff)
memory: add flags to the mapinfo
Diffstat (limited to 'gst/gstmemory.c')
-rw-r--r--gst/gstmemory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gstmemory.c b/gst/gstmemory.c
index 83ef9fef0..dd7c1d6b0 100644
--- a/gst/gstmemory.c
+++ b/gst/gstmemory.c
@@ -582,6 +582,7 @@ gst_memory_map (GstMemory * mem, GstMapInfo * info, GstMapFlags flags)
goto error;
info->memory = mem;
+ info->flags = flags;
info->size = mem->size;
info->maxsize = mem->maxsize - mem->offset;
info->data = info->data + mem->offset;