[gstreamer-bugs] [Bug 630440] ringbuffer: use g_once for type-init
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Sep 23 12:22:21 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=630440
GStreamer | gst-plugins-base | unspecified
Sebastian Dröge <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |slomo at circular-chaos.org
Ever Confirmed|0 |1
--- Comment #1 from Sebastian Dröge <slomo at circular-chaos.org> 2010-09-23 19:22:18 UTC ---
Instead of calling g_once_init_{enter,leave} by hand could you use
G_DEFINE_ABSTRACT_TYPE for defining the get_type() function and everything
else.
The debug category initialization can be moved to class_init or you could use
G_DEFINE_ABSTRACT_TYPE_WITH_CODE.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list