[gstreamer-bugs] [Bug 578811] crash with cocoa backend

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri May 8 18:03:26 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=578811

  GStreamer | gst-plugins-gl | Ver: git

Julien Isorce changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julien.isorce at gmail.com,
                   |                            |ds at schleef.org




------- Comment #4 from Julien Isorce  2009-05-09 01:03 UTC -------
Hi,

On Mac OSX there is no GSRegisterCurrentThread (which is GNUstep specific).
The crash you got comes shows that we finally cannot avoid it as it's currently
done.
For now in gst-plugins-gl/gst-libs/gst/gl/gstglwindow_cocoa.m we have:

#ifndef GNUSTEP
static BOOL GSRegisterCurrentThread(void) { return TRUE; };
static void GSUnregisterCurrentThread(void) {};
#endif

I attached a possible implementation that comes from GNUstep code
(gnustep-base-1.18.0/Source/NSThread.m) with some modifications I made to adapt
it to our case. 
(it's not a patch, you have to put the attachment code into
gstglwindow_cocoa.m)

I have no Mac machine so I let you try it.

Julien


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=578811.




More information about the Gstreamer-bugs mailing list