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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 28 07:55:40 PDT 2015


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

--- Comment #26 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
I think in the end, it's fair to say waylandeglsink is a project for possible
future micro optimization, I didn't mean to mention that in the sense that we
MUST add support for that. Instead I wanted this proposed design to be complete
complete. Currently glimagesink and friends will most often do the job.

I think what I care the most is having the ability to say "I want DMABUF, or
nothing". And because you cannot fully negotiate dmabuf, having both SHM and
DMABUF together may fail in the opposite use case because the color format of
your dmabuf is not one of the supported shm for at.

To make it clear, if you have a DMABUF with a color format that is known for
the list of DRM valid formats, you have no choice but to assume it will work.
But if it's fails, the way to fallback with a single sink would require
duplicating videoconvert inside the single element. A wrapper bin can do that
with less code, resuing videoconvert and enabling the "DMABUF of fail" use
case.

As it's clear that uploading on client side should happen on client side, again
with a single sink we'd have to duplicate what glupload and glvideoconvert do.

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