summaryrefslogtreecommitdiff
path: root/gst/gstinfo.c
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-04-15 23:12:11 +0300
committerStefan Kost <ensonic@users.sf.net>2009-04-15 23:35:35 +0300
commit659102e04a7111895cde506e5e3c9e118b0a81f6 (patch)
treee94b5dd0d266bb786e4b32640655df32e93429ee /gst/gstinfo.c
parentc09069c88949532f5cb35a9d2c692db2b669d414 (diff)
downloadgstreamer-659102e04a7111895cde506e5e3c9e118b0a81f6.tar.gz
gstdebug: show enabled/disabled in configure and fix build for disabled
When its disabled, we poison some symbols to force a build error if they are used. Dunno how useful this acually is, but we need to disable the poisoning when we include this ourself. Also don't define some of the dummies, as they are getting replaced with defines and that creates code that does not compile.
Diffstat (limited to 'gst/gstinfo.c')
-rw-r--r--gst/gstinfo.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/gst/gstinfo.c b/gst/gstinfo.c
index f13b4e93f5..6d50478b92 100644
--- a/gst/gstinfo.c
+++ b/gst/gstinfo.c
@@ -85,6 +85,7 @@
* categories. These are explained at GST_DEBUG_CATEGORY_INIT().
*/
+#define GST_INFO_C
#include "gst_private.h"
#include "gstinfo.h"
@@ -1564,24 +1565,6 @@ gst_debug_log_valist (GstDebugCategory * category, GstDebugLevel level,
{
}
-const gchar *
-gst_debug_message_get (GstDebugMessage * message)
-{
- return "";
-}
-
-gchar *
-gst_debug_construct_term_color (guint colorinfo)
-{
- return g_strdup ("");
-}
-
-gint
-gst_debug_construct_win_color (guint colorinfo)
-{
- return 0;
-}
-
void
gst_debug_log_default (GstDebugCategory * category, GstDebugLevel level,
const gchar * file, const gchar * function, gint line,
@@ -1589,17 +1572,6 @@ gst_debug_log_default (GstDebugCategory * category, GstDebugLevel level,
{
}
-const gchar *
-gst_debug_level_get_name (GstDebugLevel level)
-{
- return "";
-}
-
-void
-gst_debug_add_log_function (GstLogFunction func, gpointer data)
-{
-}
-
guint
gst_debug_remove_log_function (GstLogFunction func)
{