just make it compile with --disable-gst-debug.
authorEdgard Lima <edgard.lima@indt.org.br>
Mon, 24 Apr 2006 18:30:55 +0000 (18:30 +0000)
committerEdgard Lima <edgard.lima@indt.org.br>
Mon, 24 Apr 2006 18:30:55 +0000 (18:30 +0000)
Original commit message from CVS:
just make it compile with --disable-gst-debug.

ChangeLog
ext/annodex/gstcmmlparser.c

index e535434..00bde57 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-24  Edgard Lima <edgard.lima@indt.org.br>
+
+       * ext/annodex/gstcmmlparser.c: (gst_cmml_parser_generic_error):
+       just make it compile with --disable-gst-debug.
+
 2006-04-23  Sebastien Moutte  <sebastien@moutte.net>
 
        * gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek):
index 3992daf..4e22fd3 100644 (file)
@@ -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