[Bug 711155] wayland: add wl_drm support to wayland sink

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 15 03:26:23 PDT 2015


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

--- Comment #46 from Benjamin Gaignard <benjamin.gaignard at gmail.com> ---
(In reply to Julien Isorce from comment #45)
> +1 to add memory:dmabuf caps feature in gst-plugins-base.
> 
> Benjamin I am trying to find a consensus so in your use case you have a flow
> with both dmabuf and system mem right ?
> 
> What we probably need in your case it dmabuf type for
> gst_query_add_allocation_meta or a dmabuf option for
> gst_buffer_pool_config_add_option.
> So that your sink does not need to expose a dmabuf caps feature in its caps,
> but just add this meta or option when proposing a pool.

That is exactly what we do when adding the allocator in pool with
gst_query_add_allocation_param() function.

> At runtime you will always have gst_is_dmabuf_memory to check what type of
> buffer you got.

Yes we do that too to check the buffer memory type

> In the end the caps of the flow will be just video/x-raw without restricting
> the memory type.

That definitively what I expected to have: caps without memory type and
allocator selection while negotiate buffer pool

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