[Bug 740753] vaapisink: add support for EGL

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 2 13:49:44 UTC 2017


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

--- Comment #12 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Hi Daniel

(In reply to Daniel van Vugt from comment #9)
> I do already have another bug describing my main motivation. See bug 784369.

I see. Your motivation is to improve the experience of totem using
gstreamer-vaapi under Wayland. Definitely there is a ton of things to do. For
example, as you mentioned, there are incompatibilities among gstreamer-gl and
gstreamer-vaapi that we need to fix.

Nonetheless, the issue discussed in this bug report is related with vaapisink,
which is not used by Totem, as you know. Totem uses clutter-gst.

What I would recommend you is to create a new bug issue where to re-enable
GLUploadTexture for Wayland in gstreamer-vaapi (something that worked in the
past, but now it is deprecated).

> But re-enabling GLUploadTexture also solves a Wayland-specific portion of
> bug 783850.

Please see bug 773453

There is discussed how to enable GLUploadTexture in cluttergst. The other side
of the equation.

As you found in bug 779965 and 779966, GLUploadTexture is considered obsolete
because gstreamer-gl offers a better mechanism to transfer images to textures
using GstGLMemory.

But, 1\ clutter-gst  doesn't use gtreamer-gl and 2\ gstreamer-vaapi still
doesn't support GstGLMemory (bug 784207),

Still, there is another option: dmabuf (bug 759209), which is supported by
gstreamer-vaapi, but it hasn't been merged into clutter-gst.


> It's a patch that's solving multiple problems, and I think this bug is still
> related. The EGL platform in gstreamer-vaapi seemingly never worked and the
> above patch makes the EGL code path work. Hence I chose this bug. But if you
> really want then I can move to bug 784369 instead.

It worked somewhat, but it never got finished. Until the GLUploadMeta was
superseded by dmabuf in the specific case of EGL.

My proposal is, if you wish, you can help by solving the problem of
gstreamer-gl/gstreamer-vaapi display instantiation mismatch, or merging dmabuf
support in clutter-gst and clean up the rough corners. Or help with bug 784207
:)

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