mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
info: Fix build at least until the correct fix is found
See bug #614167.
This commit is contained in:
parent
e305e49ef4
commit
ffb0a4e190
1 changed files with 3 additions and 4 deletions
|
@ -1510,9 +1510,10 @@ static GStaticMutex __dbg_functions_mutex = G_STATIC_MUTEX_INIT;
|
|||
|
||||
/* This function MUST NOT return NULL */
|
||||
const gchar *
|
||||
_gst_debug_nameof_funcptr (GstDebugFuncPtr func)
|
||||
_gst_debug_nameof_funcptr (gpointer ptr)
|
||||
{
|
||||
gchar *ptrname;
|
||||
GstDebugFuncPtr func = (GstDebugFuncPtr) ptr;
|
||||
|
||||
#ifdef HAVE_DLADDR
|
||||
Dl_info dl_info;
|
||||
|
@ -1549,10 +1550,8 @@ _gst_debug_nameof_funcptr (GstDebugFuncPtr func)
|
|||
}
|
||||
|
||||
void
|
||||
_gst_debug_register_funcptr (GstDebugFuncPtr func, const gchar * ptrname)
|
||||
_gst_debug_register_funcptr (gpointer ptr, const gchar * ptrname)
|
||||
{
|
||||
gpointer ptr = (gpointer) func;
|
||||
|
||||
g_static_mutex_lock (&__dbg_functions_mutex);
|
||||
|
||||
if (!__gst_function_pointers)
|
||||
|
|
Loading…
Reference in a new issue