GNOME Bugzilla – Bug 625144
[gst-plugins-gl] fixed qglwtextureshare example to work on a Mac
Last modified: 2010-08-14 13:15:53 UTC
Created attachment 166465 [details] [review] qglwtextureshare test patch to mac support This patch is supposed to enhance the Qt qglwtextureshare example that comes on tests/examples of gst-plugins-gl The test didn't work right on a Mac, the context was being obtain as a X11 context and not a NSOpengl context. The patch adds a new file and makes minor changes on code. This is my first bug submission ever. I hope everything is ok. I had to make a git commit since one file was added. Thx to all, specially to Julian Isorce! :)
And just for note, Nuno Santos told me that the following pipeline work on his MacOSX: gst-launch-0.10 videotestsrc ! glimagesink gst-launch-0.10 videotestsrc ! "video/x-raw-rgb" ! glimagesink gst-launch-0.10 videotestsrc ! glupload ! gleffects effect=2 ! glimagesink with our native Cocoa backend of gst-gl.
Author: Nuno Santos <nunosantos@imaginando.net> Date: Fri Jul 23 22:28:27 2010 +0200 qglwtextureshare: now works natively on MacOSX Retrieve the current NSOpenGLContext because our gst-gl backend uses Cocoa on MacOSX. Fixes bug #625144