/* we need threading to be enabled right here */
g_assert (g_thread_get_initialized ());
- _gst_debug_init ();
+#ifndef GST_DISABLE_GST_DEBUG
+ _priv_gst_debug_init ();
+#endif
#ifdef ENABLE_NLS
setlocale (LC_ALL, "");
GstStructure *cache_data;
};
+/* FIXME: could rename all priv_gst_* functions to __gst_* now */
gboolean priv_gst_plugin_loading_have_whitelist (void);
guint32 priv_gst_plugin_loading_get_whitelist_hash (void);
void _priv_gst_query_initialize (void);
void _priv_gst_tag_initialize (void);
void _priv_gst_value_initialize (void);
+void _priv_gst_debug_init (void);
/* Private registry functions */
gboolean _priv_gst_registry_remove_cache_plugins (GstRegistry *registry);
return (in_valgrind == GST_VG_INSIDE);
}
-/**
- * _gst_debug_init:
- *
- * Initializes the debugging system.
- * Normally you don't want to call this, because gst_init() does it for you.
- */
+/* Initialize the debugging system */
void
-_gst_debug_init (void)
+_priv_gst_debug_init (void)
{
const gchar *env;
GstDebugMessage * message,
gpointer data);
-
-/* FIXME 0.11: move this into private headers */
-void _gst_debug_init (void);
-
-
#ifdef GST_USING_PRINTF_EXTENSION
/* not using G_GNUC_PRINTF, since gcc will choke on GST_PTR_FORMAT being %P */
#define _gst_debug_min GST_LEVEL_NONE
-#define _gst_debug_init() G_STMT_START{ }G_STMT_END
-
#define gst_debug_set_default_threshold(level) G_STMT_START{ }G_STMT_END
#define gst_debug_get_default_threshold() (GST_LEVEL_NONE)