[Bug 779145] dmabuf export from vaapi encoders fails
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 3 22:45:39 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=779145
--- Comment #3 from Scott D Phillips <scott.d.phillips at intel.com> ---
(In reply to Scott D Phillips from comment #2)
> Created attachment 347176 [details] [review]
> [PATCH gst-plugins-base] fdmemory: Virtually dispatch get_fd through the
> allocator
>
> Change get_fd to be dispatched to the mem's allocator. This allows
> subclasses of fdmemory to manipulate the fd throughout the
> memory's lifetime in case the fd needs to come and go while the
> backing memory itself lives.
This is some groundwork for changing the vaapi allocator to support releasing
the dmabuf fd before doing a vaBeginPicture. In this idea, the vaapi allocator
would inherit from dmabuf_allocator, but provide its own gstmemory which is
back by a VASurface and only holds a dmabuf fd transiently.
--
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