From: Josep Torra Date: Fri, 9 Oct 2009 10:19:35 +0000 (+0200) Subject: annodex: fix warnings in macosx X-Git-Tag: 1.19.3~509^2~9572 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6320de853bad1dbb4872ebfba890f07c54295995;p=platform%2Fupstream%2Fgstreamer.git annodex: fix warnings in macosx --- diff --git a/ext/annodex/gstcmmldec.c b/ext/annodex/gstcmmldec.c index 765a0a12a5..ecc4493193 100644 --- a/ext/annodex/gstcmmldec.c +++ b/ext/annodex/gstcmmldec.c @@ -532,7 +532,7 @@ gst_cmml_dec_parse_xml (GstCmmlDec * dec, guchar * data, guint size) GError *err = NULL; if (!gst_cmml_parser_parse_chunk (dec->parser, (gchar *) data, size, &err)) { - GST_ELEMENT_ERROR (dec, STREAM, DECODE, (NULL), (err->message)); + GST_ELEMENT_ERROR (dec, STREAM, DECODE, (NULL), ("%s", err->message)); g_error_free (err); dec->flow_return = GST_FLOW_ERROR; } diff --git a/ext/annodex/gstcmmlenc.c b/ext/annodex/gstcmmlenc.c index f3b65e557c..05247f98c4 100644 --- a/ext/annodex/gstcmmlenc.c +++ b/ext/annodex/gstcmmlenc.c @@ -612,7 +612,7 @@ gst_cmml_enc_chain (GstPad * pad, GstBuffer * buffer) if (!gst_cmml_parser_parse_chunk (enc->parser, (gchar *) GST_BUFFER_DATA (buffer), GST_BUFFER_SIZE (buffer), &err)) { - GST_ELEMENT_ERROR (enc, STREAM, ENCODE, (NULL), (err->message)); + GST_ELEMENT_ERROR (enc, STREAM, ENCODE, (NULL), ("%s", err->message)); g_error_free (err); enc->flow_return = GST_FLOW_ERROR; }