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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 2 05:10:50 UTC 2018


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

Hyunjun Ko <zzoon at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #370326|needs-work                  |none
             status|                            |
 Attachment #370326|0                           |1
        is obsolete|                            |

--- Comment #4 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 370429
  --> https://bugzilla.gnome.org/attachment.cgi?id=370429&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