From: <tho...@fr...> - 2005-02-25 00:10:19
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: thomasvs Date: Thu Feb 24 2005 16:10:17 PST Log message: another no-debug build fix Modified files: gst : gstinfo.c gstinfo.h Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstinfo.c.diff?r1=1.97&r2=1.98 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstinfo.h.diff?r1=1.81&r2=1.82 ====Begin Diffs==== Index: gstinfo.c =================================================================== RCS file: /cvs/gstreamer/gstreamer/gst/gstinfo.c,v retrieving revision 1.97 retrieving revision 1.98 diff -u -d -r1.97 -r1.98 --- gstinfo.c 19 Feb 2005 12:59:45 -0000 1.97 +++ gstinfo.c 25 Feb 2005 00:10:05 -0000 1.98 @@ -1126,6 +1126,17 @@ #endif /* HAVE_PRINTF_EXTENSION */ #else /* !GST_DISABLE_GST_DEBUG */ +guint +gst_debug_remove_log_function (GstLogFunction func) +{ + return 0; +} + +gst_debug_remove_log_function_by_data (gpointer data) gboolean __gst_in_valgrind (void) Index: gstinfo.h RCS file: /cvs/gstreamer/gstreamer/gst/gstinfo.h,v retrieving revision 1.81 retrieving revision 1.82 diff -u -d -r1.81 -r1.82 --- gstinfo.h 3 Nov 2004 09:21:01 -0000 1.81 +++ gstinfo.h 25 Feb 2005 00:10:05 -0000 1.82 @@ -616,9 +616,9 @@ #define gst_debug_get_default_threshold() (GST_LEVEL_NONE) #define gst_debug_level_get_name(level) ("NONE") -#define gst_debug_add_log_function(func,data) (FALSE) -#define gst_debug_remove_log_function(func) (0) -#define gst_debug_remove_log_function_by_data(data) (0) +#define gst_debug_add_log_function(func,data) /* NOP */ +guint gst_debug_remove_log_function (GstLogFunction func); +guint gst_debug_remove_log_function_by_data (gpointer data); #define gst_debug_set_active(active) /* NOP */ #define gst_debug_is_active() (FALSE) #define gst_debug_set_colored(colored) /* NOP */ |