[Bug 730441] dmabuf: shared the mapping with shared copies of the memory

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 10 15:12:26 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=730441
  GStreamer | gst-plugins-base | git

--- Comment #6 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-07-10 22:12:19 UTC ---
Created an attachment (id=280454)
 View: https://bugzilla.gnome.org/attachment.cgi?id=280454
 Review: https://bugzilla.gnome.org/review?bug=730441&attachment=280454

[PATCH] v4l2allocator: Use qdata instead of parenting to DmabufMemory


Parenting V4l2Memory to DmabufMemory was in conflict with recent
optimization in DmabufMemory to avoid dup(), and didn't work with
memory sharing. Instead, use a qdata and it's destroy notify.

https://bugzilla.gnome.org/show_bug.cgi?id=73044
---
 sys/v4l2/gstv4l2allocator.c  | 22 ++++++++++++++--------
 sys/v4l2/gstv4l2allocator.h  |  4 ++++
 sys/v4l2/gstv4l2bufferpool.c |  5 +++--
 3 files changed, 21 insertions(+), 10 deletions(-)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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