GNOME Bugzilla – Bug 719757
glimagesink: configure script should allow to build X11/glx backend
Last modified: 2013-12-17 08:33:32 UTC
Created attachment 263383 [details] [review] 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
Review of attachment 263383 [details] [review]: looks good :)
commit 3f6ec9031e56a8c2eaa64fc67139ea3faedd5579 Author: Julien Isorce <julien.isorce@gmail.com> Date: Sat Nov 30 09:51:49 2013 +0000 osx: allow x11/glx backend and set default runtime to cocoa/nsgl https://bugzilla.gnome.org/show_bug.cgi?id=719757