[gstreamer-bugs] [Bug 525613] [wildmidi] [PATCH] initializes library multiple times

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jun 11 00:58:42 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=525613

  GStreamer | gst-plugins-bad | Ver: 0.10.8

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #112518|0                           |1
        is obsolete|                            |
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Version|0.10.6                      |0.10.8




------- Comment #4 from Sebastian Dröge  2008-06-11 07:58 UTC -------
Thanks, I've committed a similar change to CVS now. I'm initing wildimidi in
the plugin initialization now and if it fails don't register the element at
all.

2008-06-11  Sebastian Dröge  <slomo at circular-chaos.org>

        Based on a patch by:  Sonicadvance1 at GMAIL dot COM

        * ext/timidity/gstwildmidi.c: (gst_wildmidi_init),
        (gst_wildmidi_change_state), (plugin_init):
        * ext/timidity/gstwildmidi.h:
        Initialize wildmidi only once in the plugin init function instead
        of once for every instance. The second and following calls to the
        wildmidi initialization function will fail. Fixes bug #525613.

        Also don't register the element at all if wildmidi initialization
        fails.


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




More information about the Gstreamer-bugs mailing list