summaryrefslogtreecommitdiffstats
path: root/ext/annodex
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-04-24 18:30:55 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-04-24 18:30:55 +0000
commita299de4f78ab9ab5c25dc5d458f115a55b7b4011 (patch)
tree1faa7ae328c83d334bcc04a9975d2c368bd04d39 /ext/annodex
parent0ba1bac2641b883ab642b9a2162a85ac0323137b (diff)
just make it compile with --disable-gst-debug.
Original commit message from CVS: just make it compile with --disable-gst-debug.
Diffstat (limited to 'ext/annodex')
-rw-r--r--ext/annodex/gstcmmlparser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/annodex/gstcmmlparser.c b/ext/annodex/gstcmmlparser.c
index 3992daf2..4e22fd38 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