From a299de4f78ab9ab5c25dc5d458f115a55b7b4011 Mon Sep 17 00:00:00 2001 From: Edgard Lima Date: Mon, 24 Apr 2006 18:30:55 +0000 Subject: [PATCH] just make it compile with --disable-gst-debug. Original commit message from CVS: just make it compile with --disable-gst-debug. --- ChangeLog | 5 +++++ ext/annodex/gstcmmlparser.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index e535434..00bde57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-24 Edgard Lima + + * ext/annodex/gstcmmlparser.c: (gst_cmml_parser_generic_error): + just make it compile with --disable-gst-debug. + 2006-04-23 Sebastien Moutte * gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek): diff --git a/ext/annodex/gstcmmlparser.c b/ext/annodex/gstcmmlparser.c index 3992daf..4e22fd3 100644 --- a/ext/annodex/gstcmmlparser.c +++ b/ext/annodex/gstcmmlparser.c @@ -566,12 +566,14 @@ gst_cmml_parser_meta_to_string (GstCmmlParser * parser, static void gst_cmml_parser_generic_error (void *ctx, const char *msg, ...) { +#ifndef GST_DISABLE_GST_DEBUG va_list varargs; va_start (varargs, msg); gst_debug_log_valist (GST_CAT_DEFAULT, GST_LEVEL_WARNING, "", "", 0, NULL, msg, varargs); va_end (varargs); +#endif /* GST_DISABLE_GST_DEBUG */ } /* sax handler called when an element start tag is found -- 2.7.4