[Bug 783169] Don't try to load vaapi and fail

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 27 10:14:59 UTC 2017


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

--- Comment #7 from Christian Stadelmann <gnome at genodeftest.de> ---
(In reply to Daniel van Vugt from comment #6)
> Yeah I suspected as much. It was at least a proof of concept.
> 
> From memory a simpler fix is possible: Just modify the opengl plugin to
> prioritize wayland over x11. So under Gnome Shell Wayland it finds native
> Wayland before it finds X11 (Xwayland).

This seems error-prone to me. What if an application is started with
GDK_BACKEND=x11, forcing Gdk/Gtk to use Xorg? For example, firefox does
override its gdk backend in this (or a similar) way. Either way, whenever
gstreamer makes a choice, the application embedding gstreamer might have made a
different choice, so it will break.

So if there is any other code which already chose wayland or x11, gstreamer
must follow this choice.

For example, if GStreamer is being used in a Gtk+ application, and
GST_GL_WINDOW is not set, the application might have chosen a backend from the
GDK_BACKEND environment variable or gdk_set_allowed_backends(). Similarly, a
Qt5 application might have chosen a different backend by using QT_QPA_PLATFORM
environment variable or through API (if that is possible).

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