commit | cbf8d048f0c0b22ed63b7f0628e4fb4d3504d692 | [log] [tgz] |
---|---|---|
author | Song Bing <bing.song@nxp.com> | Wed Sep 13 13:37:17 2017 -0800 |
committer | Lyon Wang <lyon.wang@nxp.com> | Wed Dec 19 10:50:31 2018 +0800 |
tree | 0d7d3adbe4c8b2d804a30c6b6b665511f42bf2cd | |
parent | a9d4e7a3a18c060355dc8817bbb0584a4f687c7f [diff] |
dmabuf: set fd memory to keep mapped set fd memory to keep mapped. Upstream Status: Pending https://bugzilla.gnome.org/show_bug.cgi?id=768794
diff --git a/gst-libs/gst/allocators/gstdmabuf.c b/gst-libs/gst/allocators/gstdmabuf.c index 170267b..a9a0775 100644 --- a/gst-libs/gst/allocators/gstdmabuf.c +++ b/gst-libs/gst/allocators/gstdmabuf.c
@@ -100,7 +100,7 @@ { g_return_val_if_fail (GST_IS_DMABUF_ALLOCATOR (allocator), NULL); - return gst_fd_allocator_alloc (allocator, fd, size, GST_FD_MEMORY_FLAG_NONE); + return gst_fd_allocator_alloc (allocator, fd, size, GST_FD_MEMORY_FLAG_KEEP_MAPPED); } /**