]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blobdiff - gst/gstinfo.c
Revert "info: use the publicly visible address to fix the tests"
[glsdk/gstreamer0-10.git] / gst / gstinfo.c
index 3688120d2fd623144e3cf53623bbda889ccde7a9..78d4ce7182f27806b9cb15915499f012d79fc6f3 100644 (file)
@@ -351,16 +351,7 @@ _gst_debug_init (void)
   _GST_CAT_DEBUG = _gst_debug_category_new ("GST_DEBUG",
       GST_DEBUG_BOLD | GST_DEBUG_FG_YELLOW, "debugging subsystem");
 
-  /* we need to use the publicly visible address, so that one could remove it by
-   * the same address */
-  {
-    GModule *module = g_module_open (NULL, 0);
-    gpointer ptr;
-
-    g_module_symbol (module, "gst_debug_log_default", &ptr);
-    gst_debug_add_log_function (ptr, NULL);
-    g_module_close (module);
-  }
+  gst_debug_add_log_function (gst_debug_log_default, NULL);
 
   /* FIXME: add descriptions here */
   GST_CAT_GST_INIT = _gst_debug_category_new ("GST_INIT",