GNOME Bugzilla – Bug 728127
glimagesink: fails to create window from gst-launch process if OS X terminal is fullscreen
Last modified: 2014-05-02 05:09:30 UTC
On Mac OS X, if the terminal is in fullscreen mode and a get-launch command line is run using glimagesink as the video sink, no window is created. If the terminal is not fullscreen, the window is created.
Also, osxvideosink would create the window on top of other windows. Even when the terminal is not fullscreen, the glimagesink window opens behind other windows.
Could you have a look at osxvideosink code and see if it calls something like "oderfront" or something when realizing the window ? Thx
Could you try to replace "[m_cocoa->priv->internal_win_id orderFront:m_cocoa->priv->internal_win_id];" by "[m_cocoa->priv->internal_win_id orderFrontRegardless];" here :http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m#n631 ?
commit cf509574be9ae8b441f1ea2eebad809d60a145f4 Author: Julien Isorce <julien.isorce@gmail.com> Date: Fri May 2 05:57:00 2014 +0100 gl: show internal cocoa window on top of others Useful when your OSX terminal is fullscreen https://bugzilla.gnome.org/show_bug.cgi?id=728127