[gstreamer-bugs] [Bug 625396] gst_debug_remove_log_function doesn't remove default log handler
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Aug 7 09:32:07 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=625396
GStreamer | gstreamer (core) | 0.10.30
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Ever Confirmed|0 |1
--- Comment #6 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-08-07 16:32:05 UTC ---
So it seems that the library internal code gets a different address for the
function gst_debug_log_default than your application code.
I remember that there were also problems on Solaris with this. Apparently "it
was something to do with the link resolution rules".
Two possible solutions come to mind
a) add a gst_debug_remove_default_log_function()
b) deprecate gst_debug_add_log_function() and
gst_remove_log_function() and replace with a
new gst_debug_set_log_function() that replaces
the previous function. (Users can then still chain
up to the default log handler if they want to.)
This makes things work more in line with other
libraries. Not sure one needs to be able to add
multiple log handlers.
--
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