[Bug 794829] dmabuf: adds new allocation function with flags.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 30 06:48:18 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794829

--- Comment #2 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 370326
  --> https://bugzilla.gnome.org/attachment.cgi?id=370326&action=edit
dmabufallocator: adds gst_dmabuf_allocator_alloc_with_flags

If we can guarantee the lifetime of the fd is longer than
the memory, we can use DONT_CLOSE flag not to close when release.
But it's not provided in gstdmabuf yet while gstfdmemory does.

For example, in case of using VA-API or MSDK, we would need this api.
Otherwise we should call dup to duplicate the fd.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list