[gstreamer-bugs] [Bug 527967] gst_gerror_get_type is not thread safe

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Apr 14 01:48:59 PDT 2008


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=527967

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109210|none                        |reviewed
               Flag|                            |
         AssignedTo|t.i.m at zen.co.uk             |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.20




------- Comment #2 from Tim-Philipp Müller  2008-04-14 08:48 UTC -------
I don't think we'll be able to depend on GLib 2.14 or 2.16 any time soon, so
for now it's probably best to just pre-register the GType from gst_init like we
do with all the other types (could use the old GOnce stuff with an extra
function, but if it's together with the other stuff it's more likely to get
cleaned up properly once we can actually depend on newer GLib versions).


 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/gst.c: (init_post), (gst_deinit):
          Pre-register GstGError GType from a thread-safe context
          (fixes #527967); unref enum type classes in deinit.


-- 
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=527967.




More information about the Gstreamer-bugs mailing list