[Bug 719757] New: [glimagesink] configure script should allow to build X11/glx backend
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Dec 3 02:02:18 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=719757
GStreamer | gst-plugins-gl | git
Summary: [glimagesink] configure script should allow to build
X11/glx backend
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Mac OS
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-gl
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: julien.isorce at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=263383)
View: https://bugzilla.gnome.org/attachment.cgi?id=263383
Review: https://bugzilla.gnome.org/review?bug=719757&attachment=263383
osx: allow x11/glx backend and set default runtime to cocoa/nsgl
Currently if you install x11 and mesa-glx (for example through MacPorts), the
configure script detects that glx is available but not x11.
So it try to build the support but it fails at linking time (with all default
value to the flags): undefined reference to "gst_gl_context_glx_new"
So the following patch add missing part that detects x11 and gl libs. It also
set the cocoa backend as the default when running gst-launch videotestsrc !
glimagesink.
Which is equivalent to:
GST_GL_WINDOW=cocoa GST_GL_PLATFORM=cocoa gst-launch videotestsrc ! glimagesink
Note that for the platform case, maybe cocoa should be renamed to nsgl.
To use x11/glx:
GST_GL_WINDOW=x11 GST_GL_PLATFORM=glx gst-launch videotestsrc ! glimagesink
--
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