GNOME Bugzilla – Bug 707025
cocoa backend only supports one window on GNUstep
Last modified: 2014-11-03 07:45:17 UTC
Running the following command: GST_GL_WINDOW=cocoa GST_GL_PLATFORM=cocoa gst-launch-1.0 videotestsrc ! tee name=t ! queue ! glimagesink t. ! queue ! glimagesink Setting pipeline to PAUSED ... 2013-08-29 17:02:08.312 gst-launch-1.0[10418] autorelease called without pool for object (0x7fb2f023b028) of class GSCInlineString in thread <NSThread: 0x7fb2f0012f38> 2013-08-29 17:02:08.313 gst-launch-1.0[10418] autorelease called without pool for object (0x7fb2f023af68) of class GSCInlineString in thread <NSThread: 0x7fb2f0012f38> gst-launch-1.0: Uncaught exception No Window, reason: Failed to obtain window from the back end I don't know if this occurs in a real OS X environment. I only have GNUstep.
(In reply to comment #0) > Running the following command: > > GST_GL_WINDOW=cocoa GST_GL_PLATFORM=cocoa gst-launch-1.0 videotestsrc ! tee > name=t ! queue ! glimagesink t. ! queue ! glimagesink > Setting pipeline to PAUSED ... > 2013-08-29 17:02:08.312 gst-launch-1.0[10418] autorelease called without pool > for object (0x7fb2f023b028) of class GSCInlineString in thread <NSThread: > 0x7fb2f0012f38> > 2013-08-29 17:02:08.313 gst-launch-1.0[10418] autorelease called without pool > for object (0x7fb2f023af68) of class GSCInlineString in thread <NSThread: > 0x7fb2f0012f38> > gst-launch-1.0: Uncaught exception No Window, reason: Failed to obtain window > from the back end > > I don't know if this occurs in a real OS X environment. I only have GNUstep. It does not occur on OS X (tested on 10.9).
GNUstep limitation then ? If yes then nothing we can do and we should close this bug
What was your GNUStep setup btw ?
(In reply to comment #3) > What was your GNUStep setup btw ? The one available in Ubuntu 13.x or something. I've since changed distros and don't have GNUstep installed anymore :)
As it does not occur on a real OS X environment this is probably a GNUstep limitation, so nothing we can do on gstgl side.
We should detect GNUstep in configure and just not compile the Cocoa stuff then.
But it works if only one glimagesink.
What do you mean?
I mean GST_GL_WINDOW=cocoa GST_GL_PLATFORM=cocoa gst-launch-1.0 videotestsrc ! glimagesink works on GNUstep. But no if there are 2 glimagesink, see bug title. So for me we should still compile the cocoa stuff on GNUstep and just close this bug. Indeed it seems to be a GNUstep limitation and I do not see what we can do about that.
Ah I confused this bug with another one. It's not possible anymore to build libgstgl for GNUStep as it does not support Objective-C blocks: bug #739152