[Bug 787593] kmssink: Export DMABuf

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 27 14:18:02 UTC 2017


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

--- Comment #8 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Review of attachment 359661:
 --> (https://bugzilla.gnome.org/review?bug=787593&attachment=359661)

::: sys/kms/gstkmsallocator.c
@@ +403,3 @@
   allocator->priv = gst_kms_allocator_get_instance_private (allocator);
   allocator->priv->fd = -1;
+  allocator->priv->dmabuf_alloc = gst_dmabuf_allocator_new ();

I would instantiate this internal allocator lazily, when
gst_kms_allocator_dmabuf_export() is called by first time, since there's the
only function where is used.

-- 
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