From: Sebastian Dröge Date: Fri, 22 Feb 2013 08:07:06 +0000 (+0100) Subject: dmabuf: The dmabuf allocator has a custom alloc function, mark it as such X-Git-Tag: 1.19.3~511^2~5583 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=354d7ba302d0e05242d8d549ddba0b3edb7f2d9f;p=platform%2Fupstream%2Fgstreamer.git dmabuf: The dmabuf allocator has a custom alloc function, mark it as such --- diff --git a/gst-libs/gst/allocators/gstdmabuf.c b/gst-libs/gst/allocators/gstdmabuf.c index 21ec009..6de525f 100644 --- a/gst-libs/gst/allocators/gstdmabuf.c +++ b/gst-libs/gst/allocators/gstdmabuf.c @@ -215,6 +215,8 @@ dmabuf_mem_allocator_init (dmabuf_mem_Allocator * allocator) alloc->mem_unmap = (GstMemoryUnmapFunction) gst_dmabuf_mem_unmap; alloc->mem_share = (GstMemoryShareFunction) gst_dmabuf_mem_share; alloc->mem_copy = (GstMemoryCopyFunction) gst_dmabuf_mem_copy; + + GST_OBJECT_FLAG_SET (allocator, GST_ALLOCATOR_FLAG_CUSTOM_ALLOC); } static void