[Bug 703659] allocators: dmabuf: allow testing allocator type
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jul 15 06:43:55 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=703659
GStreamer | gst-plugins-base | 1.x
Sebastian Dröge <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |1.1.3
--- Comment #7 from Sebastian Dröge <slomo at circular-chaos.org> 2013-07-15 13:43:46 UTC ---
commit 84a09348832407a2f7e21dbae8cfa1e834116ccf
Author: Benjamin Gaignard <benjamin.gaignard at linaro.org>
Date: Mon Jul 15 15:23:17 2013 +0200
allocators: dmabuf: allow testing allocator type
In decide_allocation function some element may when to test the proposed
allocator.
For example like this:
if (gst_query_get_n_allocation_params (query) > 0) {
GstAllocator * allocator;
GstAllocationParams params;
gst_query_parse_nth_allocation_param (query, 0, &allocator, ¶ms);
if (g_strcmp0(allocator->mem_type, GST_ALLOCATOR_DMABUF) == 0)
GST_DEBUG("got dmabuf allocator");
else
GST_DEBUG("got an other allocator");
}
https://bugzilla.gnome.org/show_bug.cgi?id=703659
--
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